Hi,
I have a "continuous" subform which is linked to a table which has a checkbox field. I would like to create a Check All/Uncheck All checkbox control that both checks and disables the checkboxes in the subform.
At the moment I can disable/enable all textboxes, however my coding only checks/unchecks the FIRST checkbox in the subform, and ignores the other checkboxes in the list. My current VBA code is:
Private Sub Check5_AfterUpdate()
If Check5 = True Then
Aust_Ent_Sum = True
Aust_Ent_Sum.Enabled = False
Else
Aust_Ent_Sum = False
Aust_Ent_Sum.Enabled = True
End If
End Sub
"Aust_Ent_Sum" is the name of the checkboxes i want to check. Any help in checking/unchecking ALL the checkboxes would be appreciated!
Thanks, Siwei