This has probably been discussed but I can't find the answer.
I want to query using a form. If a form field is empty I want the query to return all results from the table including null fields.
If I query 'Is Null' then it does return the null fields (indicating that the fields are, in fact bona fide null fields).
If I query Like IIf(IsNull([Forms]![Form1]![Date]),Is Null,"*12") - then, when the form field is null, it doesn't return the Is Null fields. (I've checked by substituting another expression that the Iif is returning 'True'
Can anyone help?
I want to query using a form. If a form field is empty I want the query to return all results from the table including null fields.
If I query 'Is Null' then it does return the null fields (indicating that the fields are, in fact bona fide null fields).
If I query Like IIf(IsNull([Forms]![Form1]![Date]),Is Null,"*12") - then, when the form field is null, it doesn't return the Is Null fields. (I've checked by substituting another expression that the Iif is returning 'True'
Can anyone help?