G
Guest
I have created a form which contains a subform. On the subform I have a
checkbox. Based on whether or not this is ticked, other controls on the
subform are either visible or not (I've used VB to code it - sample below).
If NewHire.Value = True Then
JobTitle.Visible = True
EmployeeID.Visible = False
Else
JobTitle.Visible = False
EmployeeID.Visible = True
End If
However, if I have more than one record on the subform, and I click any of
the checkboxes, this results in ALL the JobTitle and EmployeeID controls
being affected. How can I "bind" the specific checkbox to the related
JobTitle and EmployeeID controls?
checkbox. Based on whether or not this is ticked, other controls on the
subform are either visible or not (I've used VB to code it - sample below).
If NewHire.Value = True Then
JobTitle.Visible = True
EmployeeID.Visible = False
Else
JobTitle.Visible = False
EmployeeID.Visible = True
End If
However, if I have more than one record on the subform, and I click any of
the checkboxes, this results in ALL the JobTitle and EmployeeID controls
being affected. How can I "bind" the specific checkbox to the related
JobTitle and EmployeeID controls?