D
David
I am trying to create a form that will serve to populate
the criteria in a query. I have about 10 fields listed on
the form. When I enter a value in the field and have the
following syntax in the query criteria (=forms!formname!
controlname) the query may or may not return a result
depending on the criteria.
Here is my problem. When I do not enter a value in the
control, it is assuming a null value? - and only return
null values. What I want to happen is that is the value
in the control is null, for the criteria to be nothing -
or Like "*", so that I get all of the records returned.
How can I do this?
Thanks in advance for your help.
the criteria in a query. I have about 10 fields listed on
the form. When I enter a value in the field and have the
following syntax in the query criteria (=forms!formname!
controlname) the query may or may not return a result
depending on the criteria.
Here is my problem. When I do not enter a value in the
control, it is assuming a null value? - and only return
null values. What I want to happen is that is the value
in the control is null, for the criteria to be nothing -
or Like "*", so that I get all of the records returned.
How can I do this?
Thanks in advance for your help.