Microsoft KB Archive/94929

= ACC: How to Export the Result of a Query to an ASCII Text File =

Article ID: 94929

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Access 1.0 Standard Edition
 * Microsoft Access 1.1 Standard Edition
 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q94929



Moderate: Requires basic macro, coding, and interoperability skills.



SUMMARY
This article shows you how to use the TransferText macro action to export the results of a query to an ASCII text file.



MORE INFORMATION
The TransferText macro action does not specify that you can use query names in the TableName argument of the action. The argument does not use a drop-down list with table name choices; therefore, you are not limited to using table names. By using the name of a query in the TableName argument of a TransferText action, you can export the results of a query to text files. This feature is undocumented in Microsoft Access 2.0, but is documented in the Microsoft Access 7.0 and 97 Help Indexes.

