ACC: "#Name?" or Control Is Blank on Form Based on a QueryLast reviewed: May 7, 1997Article ID: Q92683 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. If you have a form based on a query, and the query contains multiple fields with the same name (such as FieldA from Table1 and FieldA from Table2), the control(s) on the form that are bound to that field name will be blank or may display the "#Name?" error.
CAUSEBecause the same field name appears multiple times in the query that the form is based on, Microsoft Access does not know which field to link to the control(s). Therefore, instead of making an assumption about which field to bind to, it leaves the control(s) linked to duplicate field names blank or displays the "#Name?" error in the control.
RESOLUTIONTo correct this behavior, rename the field in the query. To change a field name in a query, follow these steps:
REFERENCESFor more information about changing a field name in a query, search the Help Index for "query design grid," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: poundname kbtshoot
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |