J Jeff Nov 15, 2003 #1 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.
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.
W Wayne Morgan Nov 15, 2003 #2 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.
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.