A
AlCamp
I often use Date Range Parameters to allow users to select a report date
range.
Between [Start Date] And [End Date]
I also use...
Like [Enter Text or Number] & "*"
that will allow the user to just hit Enter in response to the [Enter Text or
Number] parameter... and retrieve ALL records.
How can I gain that criteria "flexibility" when using Date values?
If the user just hits the Enter key in response to the [Start Date]
parameter, and just the Enter key in response to the [End Date] parameter,
I'd like to return ALL dates.
I've thought of doing an IF where... if IsNull([Start Date]) then [Start
Date] = #1/1/1945#...
and [End Date] = #1/1/12050#. But, that's pretty ugly...
Thanks for any assistance in advance...
Al Camp
range.
Between [Start Date] And [End Date]
I also use...
Like [Enter Text or Number] & "*"
that will allow the user to just hit Enter in response to the [Enter Text or
Number] parameter... and retrieve ALL records.
How can I gain that criteria "flexibility" when using Date values?
If the user just hits the Enter key in response to the [Start Date]
parameter, and just the Enter key in response to the [End Date] parameter,
I'd like to return ALL dates.
I've thought of doing an IF where... if IsNull([Start Date]) then [Start
Date] = #1/1/1945#...
and [End Date] = #1/1/12050#. But, that's pretty ugly...
Thanks for any assistance in advance...
Al Camp