Re: ENTER MULTIPLE Items in a Query Pop-Up PROMPT e.g. [Name:]
- From: "Duane Hookom" <duanehookom@xxxxxxxxxxxxxxxxx>
- Date: Sun, 15 Jan 2006 19:04:27 -0600
Try without entering any spaces. I assume your users aren't actually
entering the quotes.
--
Duane Hookom
MS Access MVP
--
"kev100 via AccessMonster.com" <u16246@uwe> wrote in message
news:5a6a3b0977a0e@xxxxxx
> ** PLEASE IGNORE THAT FIRST REPLY TO YOUR POST.....THIS IS HOW IT SHOULD
> HAVE
> READ ***
>
> Thanks very much for that information.
>
> I did a direct copy and past of those query lines. It will run without
> errors, but produces an empty list.
>
> These lines from a Query that will can be used for a SINGLE route list....
>
> SELECT results.route
> FROM results
> WHERE (((results.route)=[Enter Route:]))
> ORDER BY results.route;
>
> ...work. For example, when run, the user can enter "50" at the prompt and
> it will return all the entries for route 50. And when run again, the user
> can enter "15" and it will return those entries.
>
> But when...
>
> SELECT results.route
> FROM results
> WHERE Instr("," & [Enter Routes with comma between] & ",","," & [Route] &
> ",")
>>0
> ORDER BY results.route;
>
> ....is used and the user enters "50, 15" only an empty lists results (a
> list
> with no entries).
>
> Have I mistyped something...or do I need to make any edits?
>
> Thanks very much for your help.
>
> --
> 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 Pop-Up PROMPT e.g. [Name:]
- From: kev100 via AccessMonster.com
- Re: ENTER MULTIPLE Items in a Query Pop-Up PROMPT e.g. [Name:]
- References:
- ENTER MULTIPLE Items in a Query Pop-Up PROMPT e.g. [Name:]
- From: kev100 via AccessMonster.com
- Re: ENTER MULTIPLE Items in a Query Pop-Up PROMPT e.g. [Name:]
- From: Duane Hookom
- Re: ENTER MULTIPLE Items in a Query Pop-Up PROMPT e.g. [Name:]
- From: kev100 via AccessMonster.com
- ENTER MULTIPLE Items in a Query Pop-Up PROMPT e.g. [Name:]
- Prev by Date: Re: Creating a 'Total' column
- Next by Date: Re: LEFT JOIN returns a single space instead of NULL
- Previous by thread: Re: ENTER MULTIPLE Items in a Query Pop-Up PROMPT e.g. [Name:]
- Next by thread: Re: ENTER MULTIPLE Items in a Query Pop-Up PROMPT e.g. [Name:]
- Index(es):
Relevant Pages
|