Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- From: John Spencer <spencer4@xxxxxxxxxxx>
- Date: Sun, 08 Jan 2006 18:38:17 -0500
You do need the greater than zero.
WHERE Instr("," & [Enter first names] & ",", "," & [FirstNameField] & ",")>0
Also, you need to enter the list of names, separated by commas, and NO spaces.
"kev100 via AccessMonster.com" wrote:
>
> In my First reply, I suggested that one of the criteria lines I tried
> included the ">0" (in addition to a line without).
>
> I quickly realized that the ">0" was just part of posting a reply on the
> board and not part of the criteria line that you suggested. I just posted
> the second reply to let you know that I had realized that and that I was no
> longer including the ">0".
>
> So....eliminating the ">0" issue completely.....
>
> Copying and pasting the crteria line:
>
> WHERE Instr("," & [Enter first names] & ",", "," & [FirstNameField] & ",")
>
> ...then editing for my specfics returns a syntax error.
>
> The line I actually used after editing for my specifics is (name of the db
> field is "route"):
>
> WHERE Instr("," & [Enter Route Numbers] & ",", "," & [route] & ",")
>
> It too gets a syntax error.
>
> Could my edits be causing a problem?
>
> Thanks very much for the follow-ups
> KEV
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200601/1
.
- Follow-Ups:
- Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- From: kev100 via AccessMonster.com
- Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- References:
- Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- From: kev100 via AccessMonster.com
- Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- From: Duane Hookom
- Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- From: kev100 via AccessMonster.com
- Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- From: kev100 via AccessMonster.com
- Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- From: kev100 via AccessMonster.com
- Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- Prev by Date: Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- Next by Date: Re: Using a Union Query to get an average
- Previous by thread: Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- Next by thread: Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- Index(es):
Relevant Pages
|