Microsoft KB Archive/922396

= The Microsoft .NET Framework does not support event handlers and properties that use the same names in Access OM =

Article ID: 922396

Article Last Modified on 2/7/2007

-

APPLIES TO


 * Microsoft Office Access 2003

-





INTRODUCTION
In the Microsoft Office Access 2003 Object Model (OM), many event handlers and properties may have the same name. For example, you may have a property that is named the Report.Filter property and an event that is named the Report.Filter event.

In the Microsoft Visual Basic Environment (VBE), event handlers and properties that have the same name work without problems. However, the Microsoft .NET Framework does not support event handlers and properties that have the same name.



MORE INFORMATION
In the Microsoft .NET Framework, event names must be unique. You cannot use event handlers and properties that have the same names in managed code by using the Access Primary Interop Assembly (PIA).



STATUS
This behavior is by design.

Keywords: kbtshoot kbinfo kbexpertiseadvanced kbcode KB922396

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.