ACC: "External Table Isn't in Expected Format" Error Message

Zavrnitev odgovornosti za umaknjeno vsebino KB

Ta članek govori o izdelkih, za katere Microsoft ne ponuja več podpore. Zato je ta članek na voljo »tak, kot je«, in ne bo več posodobljen.

Novice: Requires knowledge of the user interface on single-user computers.


Symptoms

When you try to import a delimited text file, you may receive the following error message:

External table isn't in expected format.

No data is imported, nor is an Import Errors table created.

Cause

The first record in the delimited text file contains data in a format that Microsoft Access cannot recognize. For example, the record contains an incorrect field separator or is missing a field delimiter.


Microsoft Access must be able to import the first record of data correctly before continuing to import the rest of the file. If the first record has any data format problems, Microsoft Access stops the import process. However, if the second or a subsequent record has unrecognizable data, Microsoft Access continues importing and creates an Import Errors table that includes error descriptions of the data problem.

Resolution

Open the file in any text editor, such as WordPad, and change the data to a properly delimited format.

More Information

Steps to Reproduce Behavior


  1. Start WordPad and type the following values into a new document:


    "Davolio"~"Nancy"
    "King","Robert"
    "Suyama","Michael"
  2. Save the file as a text document named Test.txt, and then close WordPad.
  3. Start Microsoft Access and create a new database called Db1.mdb.
  4. Create the following new macro:


    Macro Name Action
    -------------------------------------
    Macro1 TransferText

    Macro1 Actions
    -------------------------------------
    TransferText
    Transfer Type: Import Delimited
    Table Name: Test1
    File Name: <full path to Test.txt>
    Has Field Names: No
  5. Close and save the Macro1 macro.
  6. From the Database window, run the Macro1 macro. Note that you receive the following error message:

    External table isn't in expected format

References

For more information about importing delimited text files, search the Help Index for "importing data," or ask the Microsoft Access 97 Office Assistant.
Lastnosti

ID članka: 135374 – Zadnji pregled: 19. jan. 2007 – Revizija: 1

Povratne informacije