IF RecordDate is a dateTime Field, I would use the DateSerial function.
SELECT DateSerial(Year(RecordDate), Month(RecordDate),Day(RecordDate))
FROM ...
What you posted seems as if it has one too many opening parentheses at the
beginning of the calculated field and I would expect it to generate an
error.
CDate((Month(RecordDate) & '/' & Day(RecordDate) & '/' & Year(RecordDate))
AS RecDate
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
There's 5 opening and 4 closing. Time to invest in bifocals! ;-)
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.