|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Multiple Forms and the On Load event
How do I use the Form_Load() sub when using multiple forms in Access?
VBA won't allow me to use the name of the form, so only one form object can use a particular event procedure |
|
#2
|
|||
|
|||
|
Just use the On Load event in your form to place the code you want. It won't matter how many forms you open, each form will initialize and run whatever code you put in for that specific form when it loads. If you want the same thing to occur for each form when it opens, place your code into a module and then call the procedure from the On Load event of the form.
lwells |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft Access Development > Multiple Forms and the On Load event |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|