G
Guest
I'm trying to put together a query that will find records between two dates.
The two dates are entered via a form and, if cleared, should return all
records.
So far I have (using previous posts as I'm a total novice) got:-
Is Null Or Between [Forms].[GetDiags].[FromDate] And
[Forms].[GetDiags].[ToDate]
The problem with this is that when the date entries on the form are cleared
and I run the query I only get records that don't have a date entry whereas I
would want all records to be returned.
Could anyone be kind enough to point me in the right direction? Thanks in
advance.
The two dates are entered via a form and, if cleared, should return all
records.
So far I have (using previous posts as I'm a total novice) got:-
Is Null Or Between [Forms].[GetDiags].[FromDate] And
[Forms].[GetDiags].[ToDate]
The problem with this is that when the date entries on the form are cleared
and I run the query I only get records that don't have a date entry whereas I
would want all records to be returned.
Could anyone be kind enough to point me in the right direction? Thanks in
advance.