Culland
09-08-2004, 08:17 AM
Hello. I have a database table with a variety of ways they wish to query it. Rather then create a query for each way I was thinking of using a form to provide the input values for the query. The main problem I am having is how to handle null values from the form. Basically if they dont want to limit the query by say 'province', then they just leave it blank and its ignored as far as the query is concerned. Then check the 'county' and if they dont want to limit the query they leave it blank, and so on.
I was messing with null values and paramaters but can only get that to work with one field (put [enter province] in Criteria and 'Like [enter province] is null' in Or), if I do that for both province and county it never works properly.
What would be the best way to approach this? Suggestions appreciated.
Ken
I was messing with null values and paramaters but can only get that to work with one field (put [enter province] in Criteria and 'Like [enter province] is null' in Or), if I do that for both province and county it never works properly.
What would be the best way to approach this? Suggestions appreciated.
Ken