Names with multiple forms

  • Thread starter Thread starter twas via AccessMonster.com
  • Start date Start date
T

twas via AccessMonster.com

This may be obvious, but I can't find any documentation on it, so ...

With multiple forms in a single Access 2002 database, how does Access
determine which event procedure to use with which form? I have a form with a
defined event procedure ("Private Sub Form_Current") but if I define multiple
forms in a single database, can each form have a seperately defined event
(for example, "Current") procedure? If so, what do I put in the code as the
procedure names?

thanks
Twas
 
Each object has its own code module, so every form has an OnCurrent event and
an OnLoad event, etc. They always apply to the form or report in which
they're written. You don't need to (and can't!) rename event handler routines.

Barry
 
Back
Top