Question
February 22, 2007 at 07:59 AM
sxviswan

MS Access 2003 Forms on open event VBA

by sxviswan . Updated 19 years, 7 months ago

In the open event sub procedure of a form. The help says that the ‘Object’ is
the name of the form. I have a form with name as Admin and Caption as
Admin_Form. When I click on the properties window, event tab and then click
the build button next to the ‘on open’, event. The wizard opens, a procedure
with the name ‘private sub form_open(cancel as integer)’. If I open another
form with a different name and start its open sub. It again opens with the
same ‘private sub form_open(cancel as integer)’. How does Access distinguish
between these 2 form open event subs. Why does it not take the name that is
assigned to it.

I am using Access 2003 and Widows XP.

This discussion is locked

All Comments