G
Guest
Hi guys
I have a query which uses criteria set on various combo boxes on a form to
determine the results of the query.
I need to add two fields - startdate and enddate for which any results
between those dates and that also meets the other criteria will be shown. For
all the other fields I've used Nz to allow for Null values and now I need to
do the same for the date field. How do I do this?
The obvious:
Between Nz[txtStartDate] AND [txtEndDate]
doesn't work and I'm not sure of the correct syntax or even if this can be
applied in this context. Any help would be most gratefully received.
I have a query which uses criteria set on various combo boxes on a form to
determine the results of the query.
I need to add two fields - startdate and enddate for which any results
between those dates and that also meets the other criteria will be shown. For
all the other fields I've used Nz to allow for Null values and now I need to
do the same for the date field. How do I do this?
The obvious:
Between Nz[txtStartDate] AND [txtEndDate]
doesn't work and I'm not sure of the correct syntax or even if this can be
applied in this context. Any help would be most gratefully received.