B
BlueWolverine
Hello
Access 03 on XP PRO
I have a search panel I am writing and I want to set up ONE query that will
be ready to search for any combination of restrictions. So I want the
criteria to function in this manner:
If(ISNULL(Search_Criteria), then Return all Values, else restrict to only
Search_Criteria)
How can I do this in SQL or does this have to be done with VBA on the button?
Also, I have the interntion of setting up a crude auto-filter, like the pull
downs in EXCEL.
I have five boxes you can typ etext into and 4 check boxes. The idea is to
search wether or field contains the txt in the boxes or not. The check boxes
indicate AND vs OR. I know that a query can easily produce AND & OR but can
it be done within the query or does it have to be vba that does it?
Thank you
Access 03 on XP PRO
I have a search panel I am writing and I want to set up ONE query that will
be ready to search for any combination of restrictions. So I want the
criteria to function in this manner:
If(ISNULL(Search_Criteria), then Return all Values, else restrict to only
Search_Criteria)
How can I do this in SQL or does this have to be done with VBA on the button?
Also, I have the interntion of setting up a crude auto-filter, like the pull
downs in EXCEL.
I have five boxes you can typ etext into and 4 check boxes. The idea is to
search wether or field contains the txt in the boxes or not. The check boxes
indicate AND vs OR. I know that a query can easily produce AND & OR but can
it be done within the query or does it have to be vba that does it?
Thank you