OnClick Event to make subform Visible

B

Ben

I have a label that has an OnClick Event. I want it to make a subform
visible. I have the subform already Visible = No. But i am having trouble
with the code to make that link work.

Ben
 
A

Arvin Meyer [MVP]

Make sure that you are making the name of the Subform Control visible, not
the name of the subform. hey are often different. Look for the name of the
subform control on the Other tab.

Me.NameOfSubformControl.Visible = True

or:

Forms!FornName!NameOfSubformControl.Visible = True
 

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