ACC97: Incorrect Records in Query Exported to File (181329)
The information in this article applies to:
This article was previously published under Q181329 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
If you modify an existing query and then export it to another file format
without saving it, the expected data may not appear in the resulting file.
For example, this behavior can occur when you export a query to a text file
(*.txt), to Microsoft Excel 97 (*.xls), or to a dBASE file format (*.dbf).
CAUSE
When you export a query, Microsoft Access uses the SQL property of the
QueryDef object to determine which records and fields should be exported.
Modifications that you make to a query exist in a temporary object until
you save the query. At that time, the SQL property of the QueryDef object
is updated.
RESOLUTION
Save the query before you export it to another file format.
REFERENCES
For more information about exporting, search the Help Index for "exporting
data" and display the topic "Export data to another database or file
format," or ask the Microsoft Access 97 Office Assistant.
Modification Type: | Major | Last Reviewed: | 9/27/2003 |
---|
Keywords: | kbprb KB181329 |
---|
|