I think I owe more background on the data as this statement didin't work.
My raw date data comes in the following text format:
Code Date
A60615
A60926
A61018
So my first query statement is:
Date: "200" & Mid([Code Date],2,5)
So then my date returned is:
20060615
20060926
20061018
So when I try the statement that you typed it doesn't work as my field
titled Date is really text and not a true date format.
I guess my first question should be how do I convert the text to date in
access and then put it in MM/DD/YYYY format as date?
John W. Vinson said:
How do you format...
I have query: 20080105 {YYYYMMDD} but I need it in the following format
05/01/2008 MM/DD/YYY
DateSerial([yourdate] \ 10000, [yourdate] MOD 10000 \ 100, [yourdate] MOD 100)
or
CDate(Format([yourdate], @@@@/@@/@@)
and then format the date field that results any way you like.
John W. Vinson [MVP]