R
RedHeadedMonster via AccessMonster.com
I have a query that I wish to return ALL values between 2 dates AND any
records that the date happens to be null
I have used the following:
WHERE (((Schedule.DateSubmitted) Between [Forms]![ViewReports]![DateFrom] And
[Forms]![ViewReports]![DateTo] Or (Schedule.DateSubmitted) Is Null))
And the result is ONLY the Null values.
WHERE (((Schedule.DateSubmitted) Between [Forms]![ViewReports]![DateFrom] And
[Forms]![ViewReports]![DateTo] And (Schedule.DateSubmitted) Is Null))
And the result is Nothing...an empty set.
What do I need to do so that it will show me all records between the dates
and any record where the date field is Null?
Thanx.
RHM
records that the date happens to be null
I have used the following:
WHERE (((Schedule.DateSubmitted) Between [Forms]![ViewReports]![DateFrom] And
[Forms]![ViewReports]![DateTo] Or (Schedule.DateSubmitted) Is Null))
And the result is ONLY the Null values.
WHERE (((Schedule.DateSubmitted) Between [Forms]![ViewReports]![DateFrom] And
[Forms]![ViewReports]![DateTo] And (Schedule.DateSubmitted) Is Null))
And the result is Nothing...an empty set.
What do I need to do so that it will show me all records between the dates
and any record where the date field is Null?
Thanx.
RHM