J
Jay
Parent form with a subform. One checkbox on parent form, one checkbox on the
subform.
In the Parent form's Current event procedure, I'd like to set the Enabled
property of the subform checkbox relative to the value of the parent form
checkbox.
If the parent form checkbox is True (checked), then disable the subform's
checkbox. If parent form check box is False (unchecked), then enable the
subform's checkbox.
I get a runtime error message "Object does not support this property or
method" from the following parent form code:
Private Sub Form_Current() ' parent form's Current event procedure
Me.SubForm1.Form.TaxExempt.Enabled = Not (Me.TaxExemptClient)
End sub
subform.
In the Parent form's Current event procedure, I'd like to set the Enabled
property of the subform checkbox relative to the value of the parent form
checkbox.
If the parent form checkbox is True (checked), then disable the subform's
checkbox. If parent form check box is False (unchecked), then enable the
subform's checkbox.
I get a runtime error message "Object does not support this property or
method" from the following parent form code:
Private Sub Form_Current() ' parent form's Current event procedure
Me.SubForm1.Form.TaxExempt.Enabled = Not (Me.TaxExemptClient)
End sub