ACC2: MS Access 2.0 Processes Properties First, Controls SecondLast reviewed: May 12, 1997Article ID: Q118961 |
The information in this article applies to:
SYMPTOMSUnexpected behaviors occur on forms and reports when controls on forms and reports have the same names as properties.
CAUSEIn Microsoft Access version 2.0, the Microsoft Jet database engine processes references to properties first, and references to control names second.
RESOLUTIONThe best solution is to make sure that control names do not match existing property names. You can see a complete list of property names by searching for "reserved words," and then "Programming Topics" using the Microsoft Access Help menu. Another solution is to use the complete form or report reference for referring to controls on forms and reports. For information about control references, search for "referring to controls," and then "Referring to Controls on a Form or Report" using the Microsoft Access Help menu.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor information about how the Name property is an exception to this rule when you are using an unconverted version 1.x database file in version 2.0, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q112130 TITLE : ACC: Using "Name" in Expressions |
Keywords : kbusage TblDsign
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |