troubleshooting Question

Date Query Problem

Avatar of vibale
vibale asked on
Microsoft Access
23 Comments1 Solution355 ViewsLast Modified:
Hi,

Im running a query thorugh code but its not working. I think I know why its not working but dont know how to get it to work

Im querying date fields and its not working....however if I make an actual query, and enter the dates in the condition fields in the following format

dd/mm/yyyy

the query works

When I look at the sql code of the query, the date fields are changed to

mm/dd/yyyy

The format I have the dates in is dd/mm/yyyy...........how can I get my manual query to work?

Also, I have checked the table design and it is set to short date (dd/mm/yyyy)????
ASKER CERTIFIED SOLUTION
boxcar7

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 23 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 23 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros