Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Import Text File (2000)

    I am trying to import a text file into access. It is delimited by $. My problem is, it won't bring in the date fields. They are in the text file like this - 1985-04-24. Does anyone know how to get around this and get the date fields to import with the rest of the file? In the error report in access, I am getting, "Type conversion Error" for the date fields.

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Import Text File (2000)

    I think you should import the file into a temp table and change the text field into a date field.
    Francois

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Import Text File (2000)

    Thanks Francois. I got it to work. The Import Wizard has an advanced button where you can define the date. I selected "-" as the date delimiter and for date order, I selected YMD and that did the trick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •