ACC: Can't Export Part of a Table to a Text FileLast reviewed: October 24, 1997Article ID: Q145656 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. When you try to omit fields from the export specification in the Export Text Wizard (or Text Export Wizard in Microsoft Access 7.0), you may receive the following error message:
The number of fields in your export specification does not match the number in the table you have chosen to export.Or, if you convert a database (created in a previous version of Microsoft Access) that uses a TransferText action with a fixed-width export specification to output only part of a table, you may receive the following error message when you run the TransferText action:
INSERT INTO statement contains unknown field name '<field name>' CAUSEMicrosoft Access 7.0 and 97 do not allow you to customize the export specification to omit specific fields from a table (or query). This behavior differs from earlier versions of Microsoft Access.
RESOLUTIONYou can create a query that includes only the fields that you want to export to the fixed-width or delimited text file. Then, you can run the Export Text Wizard to export the query and create an Import/Export specification with only the query fields. Or, you can run a TransferText action to export the query using the Import/Export specification created with an earlier version of Microsoft Access.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 7.0 and 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem
REFERENCESFor more information about exporting data using a fixed-width format, type "TransferText" in the Office Assistant, click Search, and then click to view "Automate importing, exporting, or linking of data." Keywords : IsmSetup kb3rdparty kberrmsg Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbbug Solution Type : kbworkaround |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |