Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / May 2005

Tip: Looking for answers? Try searching our database.

how to get a query to prompt for city

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Grd - 30 May 2005 19:20 GMT
hi,

i have a query which i use. I can go to the design view and put in the city
I want in the criteria. But how do I get it so I don't have to keep going in
to change it. i.e to make it prompt with a box where I can type the city.

I've seen it before so I know its possible

Any help would be greatly appreciated
Ofer - 30 May 2005 19:33 GMT
Try that

Select * From MyTable Where CityName = [CityParam]
That will promopt you with field CityParam to enter a name

> hi,
>
[quoted text clipped - 5 lines]
>
> Any help would be greatly appreciated
Eric Blitzer - 31 May 2005 06:05 GMT
Ofer has a good solution but why not use a form with a combo box for the city
and any other criteria and add a commad button that runs the query.

Chris

> hi,
>
[quoted text clipped - 5 lines]
>
> Any help would be greatly appreciated
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.