Results 1 to 4 of 4
  1. #1
    geng is offline Novice
    Windows XP Access 2003
    Join Date
    May 2010
    Posts
    2

    Field returns error when I import Text Files to Access

    I tried importing a text file to Access and it always gives me error on the fields 5,6,7,8.

    I did the following steps:

    File - Get External Data - Import

    On the Import Text Wizard

    Delimited - Tab(First Row Contains Field) - New Table

    - Data Type
    Field 1 - Text
    Field 2 - Text
    Field 3 - Text
    Field 4 - Text
    Field 5 - Date/Time
    Field 6 - Long Integer
    Filed 7 - Long Integer
    Field 8 - Long Integer
    Field 9 - Text
    Field 10- Text

    -Primary Key
    No primary Key

    Import to table

    Finish

    Please Help!

    Thanks!

  2. #2
    geng is offline Novice
    Windows XP Access 2003
    Join Date
    May 2010
    Posts
    2
    I also tried Data Type as "Single" but it still returns error.

  3. #3
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    Try an intermediate step.

    Open your text file.
    Ctrl-A
    Ctrl-C
    Open Microsoft Excel
    Ctrl-V
    Ctrl-S

    Now import the Excel file into Access.

    Cheers,

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    or treat everything as text and then change to what you need in the design view of the table after import.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Import multiple text files automatically
    By instructorTek in forum Import/Export Data
    Replies: 30
    Last Post: 10-20-2012, 04:50 PM
  2. Cannot import excel or text files
    By donald_s in forum Access
    Replies: 2
    Last Post: 04-13-2010, 11:48 PM
  3. Dlookup in form returns #error
    By RickM in forum Access
    Replies: 1
    Last Post: 03-29-2010, 07:59 PM
  4. Import HTML files into access
    By mccrimmon in forum Programming
    Replies: 0
    Last Post: 02-15-2010, 03:40 PM
  5. How to import word and PDF files into Access
    By asaini in forum Import/Export Data
    Replies: 1
    Last Post: 09-03-2009, 11:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums