Get my form into MS Office Access Objects

  • Thread starter Thread starter Hathor
  • Start date Start date
H

Hathor

I have designed a new form in Access. But when I go to VBA I do not see it
listed in Project Explorer under Microsoft Office Access Objects. I can
open/display the form with doCmd.OpenForm, but that does me no good. I need
to open the form in code view so I can attach code to the controls on the
form.
 
Hathor said:
I have designed a new form in Access. But when I go to VBA I do not see it
listed in Project Explorer under Microsoft Office Access Objects. I can
open/display the form with doCmd.OpenForm, but that does me no good. I
need
to open the form in code view so I can attach code to the controls on the
form.

Open the form in design view, then select View | Code. Access will create
the form's class module for you (it hasn't got one yet, which is why it
didn't show in Project Explorer).
 
Back
Top