Hi guys,
I have a question about parameter queries. I would like to use a parameter query where the user can type in a search string in a parameter query. I know that to make the query ask for the criterion, you enter a question in square brackets in the query design window. E.g. for a database of Materials, you can enter this as a criterion for Raw Material name:
[Enter Material Name] (ie - Sugar) and this will bring back all the records that match exactly to 'Sugar' only
I know you can also put in Like *Sugar* and it will bring up all the Materials that contain the word 'Sugar' in it (ie Sugar Syrup, Brown Sugar etc)
But that is hardcoded into the query - I would like to know how to do that in a parameter query, so that the user can enter a word or part of a word and it will bring back all the records that contain that word or few letters???
So it will prompt them to enter a word or first few letters etc and it will bring back all the records.
ie, enter 'Sug' and it will bring back all the records that contain those letters (Sugar, Sugar Syrup, Brown Sugar etc)
Hopefully that makes sense
Any help appreciated!
Thanks