I have a parameter query based on an unbound field on a form. If I open the form and run the query from the form with no value in the field it doesn’t return any records. But if I open the query with that particular form closed (and enter nothing in the parameter box which appears) it returns all records. I want the latter to occur. (Used is Null in Or row).
Any ideas on why this occurs and is it possible to have 2 unbound fields on a form to do the following:
1) CountyName field is blank, StreetName has data - to display all counties and only streetnames equal to the data in the StreetName field.
2) CountyName has data , StreetName is blank- to display all streetnames and only counties equal to the data in the CountyName field.
3) Both fields empty to display all records.
I hope I've explained this correctly
Any ideas on why this occurs and is it possible to have 2 unbound fields on a form to do the following:
1) CountyName field is blank, StreetName has data - to display all counties and only streetnames equal to the data in the StreetName field.
2) CountyName has data , StreetName is blank- to display all streetnames and only counties equal to the data in the CountyName field.
3) Both fields empty to display all records.
I hope I've explained this correctly