turketel
06-07-2002, 11:43 AM
I want to do a query with criteria picked up from a form. Sometimes the form will request one particular value for the criteria, other times it will request all values. I am setting the criteria feld on the query with Forms!Formname!Fieldname. It works when one value is selected, but doesn't seem happy with *, Like "*", null etc. or anything other than a simple value. I realise I could use two queries, but what I really want to do is to have 3 or 4 criteria fields of this type and I don't want that many queries!
Any ideas?
Any ideas?