FormA displays contains SubformA and a text box 'Text1'
A date is entered into Text1.
SubformA is based upon QueryA.
QueryA displays records from TableA, displaying them in SubformA.
QueryA's query criteria are selected from numerous text boxes and combo boxes on FormA.
TableA contains a date field (DateA) that is not populated for every record in the table.
QueryA's criteria for this field looks something like:
Like [Forms]![FormA]![Text1]
Text1 is defaulted to '*'
This I expected to return all records in Table1 as this (I though) effective means Like '*' ie, return everything...
However this only returns records from Table1 who's DateA value has been set. Those records who's date is blank do not get returned.
I can't do a OR IsNull, because when I do enter a date in Text1, I get all matched records + all the ones with blank dates too!!!
Help!!! How can I get around this?
Best,
Perplexed of UK origin.
A date is entered into Text1.
SubformA is based upon QueryA.
QueryA displays records from TableA, displaying them in SubformA.
QueryA's query criteria are selected from numerous text boxes and combo boxes on FormA.
TableA contains a date field (DateA) that is not populated for every record in the table.
QueryA's criteria for this field looks something like:
Like [Forms]![FormA]![Text1]
Text1 is defaulted to '*'
This I expected to return all records in Table1 as this (I though) effective means Like '*' ie, return everything...
However this only returns records from Table1 who's DateA value has been set. Those records who's date is blank do not get returned.
I can't do a OR IsNull, because when I do enter a date in Text1, I get all matched records + all the ones with blank dates too!!!
Help!!! How can I get around this?
Best,
Perplexed of UK origin.