AndrewKent
Well-known Member
- Joined
- Jul 26, 2006
- Messages
- 889
Hi there,
Just noticed that a Dlookup I am using on a field with dates is not working correctly. The two date fields that I have are formatted "dd/mm/yyyy" however when I use the following Dlookup:
I can see that the date formatting is getting a bit muddled (so for example 31/09/2011 remains as such but 10/09/2011 is being changed to 09/10/2011 which is mm/dd/yyyy)
How do I update this query to keep the date format as dd/mm/yyyy?
Kind reagrds,
Andy
Just noticed that a Dlookup I am using on a field with dates is not working correctly. The two date fields that I have are formatted "dd/mm/yyyy" however when I use the following Dlookup:
Code:
PERIOD: DLookUp("[DateMatrix_Period]","[tblMatrix_DateMatrix]","[DateMatrix_Date]=#" & [IntL_DateofLeaving] & "#")
I can see that the date formatting is getting a bit muddled (so for example 31/09/2011 remains as such but 10/09/2011 is being changed to 09/10/2011 which is mm/dd/yyyy)
How do I update this query to keep the date format as dd/mm/yyyy?
Kind reagrds,
Andy