RecordExit Event

Posted on 2007-07-20
Last Modified: 2012-06-21
MS Access help talks about a form event called RecordExit, but I can't find it on the form property sheet.
Question by:Milewskp
    LVL 33

    Accepted Solution

    LVL 75

    Expert Comment

    by:DatabaseMX (Joe Anderson - Access MVP)
    It's the event that never was :-)

    LVL 84
    Never heard of that one ... learn something new every day!! I'd assume you could use the Current event to do the same thing ... although I have no idea when, exactly, the RecordExit event would have fired.
    LVL 13

    Expert Comment

    What are you trying to do. Or just curious what it is.
    LVL 75

    Expert Comment

    by:DatabaseMX (Joe Anderson - Access MVP)
    I vaguely remember something about this ... probably read about it in a 'new features (Form) article in Smart Access and/or Advisor ... and they were probably reviewing the beta release, circa that time period.

    "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."

    Possible Use:

    Private Sub Form_RecordExit(Cancel As Integer)
        ' Hide the errormsg label to reduce flashing when navigating
        ' between records.
        errormsg.Visible = False
    End Sub

    LVL 84
    Yeah, I saw that article on the MS website, but no real info on what it was supposed to do, or why it was removed ... guess we'll never know!!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
    In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
    Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now