I need to format a date that is in a text field - ex. 20081108 needs to be
11/08/2008 - how do I do this?
p.s. I cannot change the field from a text to a date - it deletes all the info
That's because, even though the date parser is pretty clever, it will not
recognize an 8-digit number as a date.
I'd suggest adding a Date/Time field to the table, and then running an update
query updating it to
CDate(Format([textdate], "@@@@-@@-@@"))
Check to be sure that you're getting valid and correct dates, and then use the
new date/time field instead of the text field.
If this will be a recurring import of some sort, you may need to make the same
change as part of the import process, or even use the CDate(()) expression as
a calculated field in a query.