Use cDate and string manipulation to get the value changed to a proper date format:
------------------------------------------------------------------------------------------
MyTable.[Date Field Name] = cDate(Mid(sImportDate, 3, 2) & "/" & Right(sImportDate, 2) & "/" & Left(sImportDate, 2))
------------------------------------------------------------------------------------------
Format doesn't change or convert values, it only changes how it is displayed.
|