ACC2000: Aliased Field Name in Query Displays Wrong Name
Article ID: 202859
Article Last Modified on 12/12/2002
APPLIES TO
- Microsoft Access 2000 Standard Edition
This article was previously published under Q202859
Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you build a query in the query by example (QBE) grid and use an alias for a column name, the name that you specified in the alias is not displayed when you run the query. Instead, an unexpected field name is returned in Datasheet view.
CAUSE
If a field in the underlying table of your query uses the Caption property, the value specified in the Caption property is displayed as the field name for a column, regardless of whether you use an alias. This behavior is by design.
REFERENCES
For more information about the Caption property, click Microsoft Access Help on the
Help menu, type caption property in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Additional query words: OFF2000 prb
Keywords: kbdta kbprb KB202859