Hi ksa266,
Not sure if I totally understood your question but,
to make a search form you need to have it dynamically create a SQL statement and then attach it to the RecordSource of the form you want the results to be in.
I usually will create an actual query with all the potential fields needed in the search, from there, I'll cut & paste the SQL statement into my code. This gives me the proper syntax very easily(needs modification of course).
I'm not sure how familiar you are with what I just said.
It can get a little tricky.
But, this is a very common way to create a search form to filter records.
Let me know if more help is needed.
Good Luck!
|