S
Sierras
Hello
I have an unbound control which allows users to input some parameters
to search for data. One of them is a date range. Something like
this;
between [Forms]![Search Form]![txtStartDate] and [Forms]![Search
Form]![txtEndDate]
This works very well when users fill in the parameters as well as the
date range. However, the report comes up empty if the users do not
enter a date to search for.
I would like that the reports brings back all dates if the field is
left empty. In the other search fields, I've used a control like
this:
Like "*" & [Forms]![Search Form]![Search1] &"*"
This works well for text and number fields. But not for dates.
Anyone know how to get around this for dates??
Thanks
I have an unbound control which allows users to input some parameters
to search for data. One of them is a date range. Something like
this;
between [Forms]![Search Form]![txtStartDate] and [Forms]![Search
Form]![txtEndDate]
This works very well when users fill in the parameters as well as the
date range. However, the report comes up empty if the users do not
enter a date to search for.
I would like that the reports brings back all dates if the field is
left empty. In the other search fields, I've used a control like
this:
Like "*" & [Forms]![Search Form]![Search1] &"*"
This works well for text and number fields. But not for dates.
Anyone know how to get around this for dates??
Thanks