ACC: Word Merge Field Names Differ from Query Names in Microsoft Access
Article ID: 167062
Article Last Modified on 1/19/2007
APPLIES TO
- Microsoft Access 95 Standard Edition
- Microsoft Access 97 Standard Edition
- Microsoft Word 97 Standard Edition
- Microsoft Word 95 Standard Edition
- Microsoft Word 95a
This article was previously published under Q167062
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you export a query to Microsoft Word that contains field names which
have been renamed in the query, the field names that are exported to
Microsoft Word are different from the field names that are displayed in the
query.
CAUSE
This behavior occurs when the Caption property of the fields in the table
contain a value.
RESOLUTION
To have Microsoft Access and Microsoft Word display the same names for the
fields, remove the Caption property values that you have set for the fields
in the table. Then, the new names you have given the fields will be
displayed in both the query and in Microsoft Word.
REFERENCES
For more information about renaming fields in queries, search the Microsoft
Access Help Index for "renaming fields," and then "change a field name in a
table," or ask the Microsoft Access 97 Office Assistant.
Keywords: kbinterop kbprb KB167062