Microsoft KB Archive/286591

= ACC2002: RecordExit Event in Employees Form Does Not Work =

Article ID: 286591

Article Last Modified on 11/6/2003

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



This article was previously published under Q286591



Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).



SYMPTOMS
The Employees form module in the Northwind sample database and NorthwindCS sample project contains an event procedure for the RecordExit event that does not work.



RESOLUTION
You can safely remove the procedure from the form module, or you can leave the procedure as is.



STATUS
Microsoft has confirmed that this is a problem in Microsoft Access.



MORE INFORMATION
The RecordExit event was an event that existed during the Microsoft Access 2002 beta cycle, but it was removed in the final release version of Microsoft Access 2002. The sample applications used this event in the Employees form; however, the procedure was not removed from the sample applications after the event was removed from Microsoft Access. Note that the event procedure will not fire because the RecordExit event no longer exists in Microsoft Access.

Steps to Reproduce the Behavior
 Open the sample database Northwind.mdb or the sample project NorthwindCS.adp. Open the Employees form in Design view. On the View menu, click Code to view the module of the form.  Note that the module contains the following event procedure: Private Sub Form_RecordExit(Cancel As Integer) ' Hide the errormsg label to reduce flashing when navigating ' between records. errormsg.Visible = False End Sub 

Additional query words: pra doesn't isn't trigger triggered

Keywords: kbbug kbnofix KB286591

-

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

© Microsoft Corporation. All rights reserved.