J
Joe Williams
I use a lot of queries that resrtict records by looking at the beginning and
ending dates of a form to do a BETWEEN DATE1 and DATE2 statement in the
query.
My question is how do I construct a query such that if the user leaves the
date fields blank it will return all records, but if they fill them in then
it will only give the records for that date range?
As I have it right now (between statement seen above) if the users leaves
the date fields blank then you will get zero records returned.
Thanks
joe
ending dates of a form to do a BETWEEN DATE1 and DATE2 statement in the
query.
My question is how do I construct a query such that if the user leaves the
date fields blank it will return all records, but if they fill them in then
it will only give the records for that date range?
As I have it right now (between statement seen above) if the users leaves
the date fields blank then you will get zero records returned.
Thanks
joe