I am trying to setup a SQL Query to pick a group of records.
What I have been asked to do is create a query that when run, prompts the user for a value and then uses that value as part of the 'Where' condition to select the records.
Example might be Where State = 'TX'
But my user wants to be prompted for the value 'TX' or the like.
I know that I can hardcode many queries each for a different state, but my user wants to run the query and be prompted.
Note: The actual field they want to select on is a User defined field that has 100's of possiblities, so a query for each possible value is not what they want.
Anybody able to do something like this.
Thanks,
Hap...
Access Developer Access based Add-on Solutions
Access Consultants forum
What I have been asked to do is create a query that when run, prompts the user for a value and then uses that value as part of the 'Where' condition to select the records.
Example might be Where State = 'TX'
But my user wants to be prompted for the value 'TX' or the like.
I know that I can hardcode many queries each for a different state, but my user wants to run the query and be prompted.
Note: The actual field they want to select on is a User defined field that has 100's of possiblities, so a query for each possible value is not what they want.
Anybody able to do something like this.
Thanks,
Hap...
Access Developer Access based Add-on Solutions
Access Consultants forum