Names with multiple forms

  • Thread starter twas via AccessMonster.com
  • 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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top