Filter by Date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When the date filter is applied in a Form not every row with the same date is
being filtered. I suspect this is due to a hidden time factor. How do you
format the cell so that all records in a column with the same date will be
filtered out when required?
 
Hi Pete,

not format... strip the time away -- one way is to use the DateValue
function

me.filter = "DateValue([DateFieldName]) = #" & me.somedate & "#"
me.filteron = true

Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 

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

Back
Top