A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

parameter query with multiple entries



 
 
Thread Tools Display Modes
  #1  
Old July 8th, 2004, 05:12 PM
lynn.atkinson
external usenet poster
 
Posts: n/a
Default parameter query with multiple entries

Can I have a parameter query where the user just types the
various criteria in to one dialog box? eg I want to find
location 1, location 2 and location 3 from the Location
Field. Do I have to put 3 parameter queries or can I put
an expression which would mean: find 'location 1'
or 'location2' or 'location 3' when the user types into
the dialog box?

Hope this makes sense!

  #2  
Old July 8th, 2004, 06:53 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default parameter query with multiple entries

You could possibly use:
WHERE Instr([Enter Locations], [Location]) 0
This might cause issues with entering "Allenton,Pittsburgh" will also match
"Allen" and "Pitt".

--
Duane Hookom
MS Access MVP


"lynn.atkinson" wrote in message
...
Can I have a parameter query where the user just types the
various criteria in to one dialog box? eg I want to find
location 1, location 2 and location 3 from the Location
Field. Do I have to put 3 parameter queries or can I put
an expression which would mean: find 'location 1'
or 'location2' or 'location 3' when the user types into
the dialog box?

Hope this makes sense!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert to a Parameter Query Al Eaton General Discussion 3 July 9th, 2004 04:05 PM
export 1 query multiple times to 1 excel file WALRUSIM Running & Setting Up Queries 1 June 19th, 2004 04:13 AM
Parameter Query Help mark Running & Setting Up Queries 4 June 2nd, 2004 04:40 PM
Using a query with a replaceable parameter as the source of a control Hoo Using Forms 2 May 30th, 2004 09:43 AM
Using a query with a replaceable parameter as the source of a control Hoo Running & Setting Up Queries 1 May 30th, 2004 07:07 AM


All times are GMT +1. The time now is 07:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.