I am making a search form that has five (unbound) fields. I want users to be able to search on either single or multiple fields. I am able to get this to work with one field using a query that pulls criteria from the unbound combobox. But when I try to specify multiple criteria, or even single criteria from the second combobox on the form, I keep getting every record in the table. Do I need to figure out how to write an SQL statement that looks at each text/combo box and evaluates whether it is null or not? Do I need to use QueryDef? Or is there a simpler way of doing this?
And if I *do* need to use QueryDef or something like that, I would need lots of guidance, since I've never used it before and have just read about it here and in the MS Knowledge Base (and the Knowledge Base says I need "expert coding" skills, which I definitely don't have!)
Thanks for any guidance!
And if I *do* need to use QueryDef or something like that, I would need lots of guidance, since I've never used it before and have just read about it here and in the MS Knowledge Base (and the Knowledge Base says I need "expert coding" skills, which I definitely don't have!)
Thanks for any guidance!