• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Let's Get More Intimate with... > What Are the Form Events and When Do...

What Are the Form Events and When Do You Use Them?

Microsoft Access traps for 29 Form events, each of which has a distinct purpose. Access also traps events for Form sections and controls. The following sections cover the Form events and when you should use them.

Current

A form's Current event is one of the more commonly coded events. It happens each time focus moves from one record to another. The Current event is a great place to put code you want to execute whenever a record is displayed. For example, you might want the company name to appear with a special background if the client is an important one. The following code is placed in the Current event of the frmClients form that's part of the Time and Billing application:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint