Hi - i have a query with the following code which searches the 'BookingDate' field for records between two dates:
this works fine however if the user doesnt put any dates in either box how can i return all records?
Also - if the user just enters a start date but not an end date how can i return records from the start date until now?
Thanks in advance
Code:
Between [Forms]![FilteringForm]![txtStartDate] And [Forms]![FilteringForm]![txtEndDate]
this works fine however if the user doesnt put any dates in either box how can i return all records?
Also - if the user just enters a start date but not an end date how can i return records from the start date until now?
Thanks in advance