OnClick Event to make subform Visible

  • Thread starter Thread starter Ben
  • Start date Start date
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
 
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
 
Back
Top