Not sure why this is giving so much trouble
Dim frm As Form
Set frm = Form_frmExtSingles
With frm
.RecordSource = sql
!xLabel.Caption = "Composer"
' Forms!Form_frmExtSingles!xLabel.Caption = "Composer"
.TheCaption = Cap1
.Sizer
.Visible = True
End With
Set frm = Nothing
I cannot apply a new caption for xLabel control. Am told either Form doesn't exist, or field doesn't exist.
Is this because the Form is dsplayed in datasheet mode ?
Dim frm As Form
Set frm = Form_frmExtSingles
With frm
.RecordSource = sql
!xLabel.Caption = "Composer"
' Forms!Form_frmExtSingles!xLabel.Caption = "Composer"
.TheCaption = Cap1
.Sizer
.Visible = True
End With
Set frm = Nothing
I cannot apply a new caption for xLabel control. Am told either Form doesn't exist, or field doesn't exist.
Is this because the Form is dsplayed in datasheet mode ?