ACC: Errors Messages When You Export Query to dBASE (150495)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q150495 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you try to export a query in dBASE (any version) file format,
you receive the following error message:
Couldn't find object queryname.dbf.
When you try to save the underlying table to dBASE format, you receive the following error message:
Cannot define field more than once.
When you try to export the query using the TransferDatabase method, you receive the following error message:
Run-time error '3191':
Can't define field more than once.
CAUSE
dBASE has a 10-character limit for the size of field names. When the first
10 characters of two (or more) fields in a Microsoft Access table are
identical, trying to export the table or query results in duplicate
field names.
RESOLUTION
To work around this behavior, use one of the following approaches:
- Rename the table fields so that the first 10 characters are unique for
each field.
- Alias the field names in a query. For example, in the query field row
type: [NewField]:[OldDuplicateField]
REFERENCES
For more information about exporting to an Xbase file, type "FoxPro" in
the Office Assistant, click Search, and then click to view "Export a table
or query to a FoxPro, Paradox, or dBASE file".
Modification Type: | Major | Last Reviewed: | 10/31/2003 |
---|
Keywords: | kb3rdparty kbprb KB150495 |
---|
|