Share via

Date field problem with Link to CSV

Anonymous
2010-08-16T20:12:14+00:00

I am linking to a CSV file. One of the fields is a date. I select Date/Time as the field type in Access. However, when I open the table, I get "#Num!" as a value for all records. What am I doing wrong?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-08-17T03:34:34+00:00

CSV files are merely text, and Access does have trouble interpreting date/time values and other fields that have symbols (such as currency or percent.)

The best solution might be to import that file into a table that has only Text type fields. Then you can create a query to massage the values so they get interpreted correctly and outputs them as valid dates, true currency, or valid fractional (percent) values. You can then use an Append query to write the data  to a table that has the appropriate data types.

Not sure if I've run into the dates problem more frequently than others as a result of living in a country that uses a non-US date format, but it certainly is an issue.


Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to forum, rather than allenbrowne at mvps dot org.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2010-08-16T21:00:06+00:00

    Is the date text in a format that Access recognizes?


    Build a little, test a little.

    Was this answer helpful?

    0 comments No comments