A family of Microsoft relational database management systems designed for ease of use.
Hi Patty Smeby
Thank you for reaching out to Microsoft Q&A Forum and sharing your experience.
In Microsoft Access, this type of issue may be related to how date values are interpreted in criteria, especially when filtering across a year boundary. Meanwhile, you may want to verify the following:
1, Use unambiguous U.S. date literals in criteria
Access evaluates date criteria using the mm/dd/yyyy format with # delimiters, regardless of regional settings. Numeric values such as 1012026 can be misinterpreted.
Please ensure your criteria uses an explicit format, for example: #01/01/2026#
2, Avoid Between when time values may exist
If your date field includes a time component, criteria such as: Between #01/01/2026# And #01/31/2026# can exclude records on January 31 after midnight.
- You may consider this approach:
>= #01/01/2026# AND < #02/01/2026#
3, Confirm the field is a true Date/Time data type
If the field is stored as text or wrapped in Format(), Access will compare values as strings rather than dates, which can lead to unexpected results. Date criteria should be applied directly to the original Date/Time field.
4, Test the criteria in a simple query first
Before running the macro, try applying the same date filter directly in a query. If the query returns January 2026 records correctly, the issue is likely within the macro logic rather than the data itself.
For reference:
Additionally, you mentioned attaching screenshots, but they don’t appear to be included with the post. If you would still like to share them, please note that this is a public forum. For safety and privacy reasons, I recommend sending any supporting documents or screenshots via Private Message to protect your personal data.
When you have a chance, please share an update on the outcome as your feedback can be valuable to others in the community who might be experiencing the same challenge.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.