ACC2000: BeforeUpdate and AfterUpdate Properties Not Working (201088)
The information in this article applies to:
This article was previously published under Q201088 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
For a Microsoft Access 2002 version of this article, see 289895.
SYMPTOMS
The macro or function attached to the BeforeUpdate or AfterUpdate property of a bound control does not run when expected.
CAUSE
The BeforeUpdate and AfterUpdate events of a bound control are not triggered if the bound control is first modified by a macro or by code.
RESOLUTION
You can work around this behavior by causing the macro or code that
modifies the bound control to manually trigger the event pointed to by the
BeforeUpdate or AfterUpdate property of the bound control.
REFERENCES
For more information about on event procedures, in the Visual
Basic Editor, click Microsoft Visual Basic Help on the
Help menu, type "event procedures" in the Office Assistant or
the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 7/14/2004 |
---|
Keywords: | kbprb kbusage KB201088 |
---|
|