Based on the quick testing I just did, it's the ordinal information (st, th,
etc) that's causing the problem.
Import the data to a temporary table. Write a function that removes the
ordinal information from the text, then uses CDate() to convert it. Use that
function in a query to convert the date and append to the proper table.
Assuming you're using Access 2000 or newer, the function would look
something like the following untested aircode:
Function ConvertTextDate(TextDate As String) As Date
Dim strDate As String
strDate = Replace(TextDate, "st", "")
strDate = Replace(strDate, "nd", "")
strDate = Replace(strDate, "rd", "")
strDate = Replace(strDate, "th", "")
ConvertTextDate = CDate(strDate)
End Function
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"stefburgas" <(E-Mail Removed)> wrote in message
news:CECFE670-2732-494F-9F6C-(E-Mail Removed)...
>I currently have an imported file from an other database system, the date
> structure is coming across in text format as 12th December 2004 etc
> however I
> need to convert this data to short date format but when I do this as part
> of
> the table the system wips my data and I have to import again. Does anyone
> have any suggestions on how I can fix.