ACC95: TransferText Method or Macro Action May Cause Error (155513)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
This article was previously published under Q155513
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you export a table using either the TransferText action in a macro
or the DoCmd.TransferText method in a Visual Basic for Applications
procedure, you may receive the following error message:
INSERT INTO statement contains unknown field name <field name>. (Error
3127)
CAUSE
The conditions that cause this error vary depending on the structure
of the table you are exporting. The error is related to the number of
fields in the table and their data types, in particular the number of
Text fields in the table.
RESOLUTION
There are two methods to work around the problem:
- Create a query based on the table that causes the error. Use
that query name in place of the table name in your macro or procedure.
- Use a text editor, such as Notepad, to create a file called Export.ini.
Save the Export.ini file in the destination folder for the text file
that you are exporting. The Export.ini file must be larger than 0
bytes, and it can contain any text. For example, you can type a single
letter of the alphabet in the file.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 7.0.
This problem no longer occurs in Microsoft Access 97.
REFERENCES
For more information about the TransferText macro action, search for
"TransferText action," and then "TransferText Action" using the Microsoft
Access 7.0 Help Index.
For more information about the TransferText method, search for
"TransferText method" using the Microsoft Access 7.0 Help Index.
Modification Type: | Major | Last Reviewed: | 7/1/2002 |
---|
Keywords: | kb3rdparty kbbug kberrmsg KB155513 |
---|
|