Another Date Query

P

Please help James

Does anyone know how to add a third option to a date query? I know how to do
a date range query, however, I would like to have a third option "all" so
that a user has the option to view all records ragardless of the date range.
Thanks!
 
F

fredg

Does anyone know how to add a third option to a date query? I know how to do
a date range query, however, I would like to have a third option "all" so
that a user has the option to view all records ragardless of the date range.
Thanks!

And what is your criteria using just a date range?

Where YourDate between [Enter Start Date] and [Enter End Date] or
[Enter Start Date] is null

Leave [Enter Start Date] empty when prompted to get all records
 
P

Please help James

Fred, I was entering the critiria at the query level...is that not correct?

fredg said:
Does anyone know how to add a third option to a date query? I know how to do
a date range query, however, I would like to have a third option "all" so
that a user has the option to view all records ragardless of the date range.
Thanks!

And what is your criteria using just a date range?

Where YourDate between [Enter Start Date] and [Enter End Date] or
[Enter Start Date] is null

Leave [Enter Start Date] empty when prompted to get all records
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top