Hi All
I am having a problem with this form driven query I have set up. My intension is ot have a search form that sits over a table. Users can enter in what infomration it knows into combo boxes. The information will be used to launch a query. Seems simple and I set it up. the problem is that if one of hte boxes is left blank the query takes it as [something] = "" and I get zero records. I want it to behave where if it is blank to not use it as a criteria value and ignore it. Any advice, I have 7 differnet fields that the user could search on. I would want it so they could use any combination of info to find what they want.
Another note is there a way I could do multiple types of criteria on the same form with the same query. For example a vendor search have an option to llook for exact match or a containing some string serach.
any help is much appreciated.
Thanks in advance.
I am having a problem with this form driven query I have set up. My intension is ot have a search form that sits over a table. Users can enter in what infomration it knows into combo boxes. The information will be used to launch a query. Seems simple and I set it up. the problem is that if one of hte boxes is left blank the query takes it as [something] = "" and I get zero records. I want it to behave where if it is blank to not use it as a criteria value and ignore it. Any advice, I have 7 differnet fields that the user could search on. I would want it so they could use any combination of info to find what they want.
Another note is there a way I could do multiple types of criteria on the same form with the same query. For example a vendor search have an option to llook for exact match or a containing some string serach.
any help is much appreciated.
Thanks in advance.