Re: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- From: "Duane Hookom" <duanehookom@xxxxxxxxxxxxxxxxx>
- Date: Sat, 7 Jan 2006 21:38:18 -0600
As you have seen, you can't enter more than one name using your current
syntax. I would first change the name name to some other name so Access
doesn't confuse an object name "property" with the name of a field.
The only non-code method that I am aware of that can use a parameter prompt
is to set up a where clause like:
WHERE Instr("," & [Enter first names] & ",", "," & [FirstNameField] & ",")
>0
--
Duane Hookom
MS Access MVP
--
"kev100 via AccessMonster.com" <u16246@uwe> wrote in message
news:5a07b45996187@xxxxxx
> I've got a query set up that will return all the entries relating to a
> particular Name.
>
> The names are stored in the "Name" field.
>
> In the Query, I simply used the [Enter First Name:] so that the user is
> prompted.
>
>
> Entering 1 name works great.
>
> However, what statement do I use in the Query to allow 1 OR More to be
> entered....so that it will return for one or all (basically Name1 or Name2
> or
> Name3.......etc)?
>
> I've tried just entering "John" or "Mary" or "Tom" into the existing
> prompt,
> but it doesn't seem to work.
>
> Thanks
>
> --
> 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
- Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- Prev by Date: Enter MULTIPLE Items in a Query (e.g. [Name:] ??
- Next by Date: Re: multiply entire column of cells by .315
- Previous by thread: 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
|
Loading