Create a query, and type an expression like this into the Field row:
IIf(IsNumeric([dd]) AND IsNumeric([mm]) AND IsNumeric([yy]),
DateSerial([yy], [mm], [dd]), Null)
You don't want to store both the text and the date in the table, as this
could give you inconsistent results. If you are trying to convert the text
into a real date (so you can remove the 3 text fields), then turn the query
into an Update query, and put the expression in the Update row in query
design under your date field.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
Vic33 said:
I have 3 x character fields for dd, mm, yy. How do I update my table to
show
these as one date field?
Thks
.