ACC95: Exporting Query w/ Text Export Wizard Reorders ColumnsLast reviewed: June 16, 1997Article ID: Q163765 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you use the Text Export Wizard to create a delimited text file from a query that contains an expression, the order of the columns in the text file is different than it is in the query. NOTE: This behavior also occurs when using the Text Import Wizard.
RESOLUTIONIf you want to retain the same column order in the exported text file, you can create a table from the query, and then export the table. Or, you can use the TransferText action or method in a macro or Visual Basic for Applications code.
Method 1: Exporting a Table Created from the Query
Method 2: Using the TransferText Action or MethodThe following steps use the TransferText action in a macro; the same results apply if you use the TransferText method of the DoCmd object in Visual Basic code.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 7.0. This problem no longer occurs in Microsoft Access 97.
MORE INFORMATION
Steps to Reproduce Problem
REFERENCESFor more information about the TransferText method or macro action, search the Help Index for "TransferText action" or "TransferText method." For more information about exporting text files, search the Help Index for "exporting data."
|
Additional query words: move switch transfer rearrange
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |