Article ID: 150495
Article Last Modified on 1/19/2007
APPLIES TO
- Microsoft Access 95 Standard Edition
- Microsoft Access 97 Standard Edition
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".
Additional query words: dBASE duplicate names couldn t find object can Run-time error 3191
Keywords: kb3rdparty kbprb KB150495