ACC: Unable to Import Portion of Fixed-Width Text FilesID: Q94417
|
Novice: Requires knowledge of the user interface on single-user computers.
You are unable import any portion of a fixed-width text file.
Each record in a fixed-width text file must be separated from the next by a carriage return or line feed, and all the records must contain the same number of characters. The text file you are trying to import does not meet these criteria.
Modify the text file to ensure that all records meet these requirements:
This behavior is by design.
Microsoft Access cannot import fixed-width text records that are not
delimited by a carriage return or line feed.
Mainframe users may be familiar with long strings of data where the first x
number of characters are the first record, the next x number of characters
are the second record, and so on. In order to import these records into
Microsoft Access, you must ensure that each record is on its own line with
a carriage return or line feed at the end of each record.
For example, consider the following string of characters:
lastnamefirstnameagelastnamefirstnameagelastnamefirstnameage
lastnamefirstnameage
lastnamefirstnameage
lastnamefirstnameage
Field Name Data Type Start Width
--------------------------------------
Last Text 1 8
First Text 9 9
Age Number 18 3
Field Name Data Type Start Width
--------------------------------------
Last Text 1 8
First Text 9 9
Age Number 18 3
For more information about importing data, search the Help Index for "importing data," or ask the Microsoft Access 97 Office Assistant.
Keywords : kb3rdparty IsmTxtfx
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 13, 1999