Changing Labels on Subforms

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

What is the procedure to change the caption of a label that exists on a
subform?
I want to do this from a button on the main form.
 
Me.sfmNameOfSubformControl.Form.lblNameOfLabel.Caption = "text"

sfmNameOfSubformControl is the name of the control on the main form that holds the
subform, not the name of the subform itself.
 
Back
Top