Yup. All bound form's in a .mdb file a bound to a native DAO recordset. Just clone that recordset in you check boxe's click event, and update the value of your Yes/No field.
(Reference the DAO library, of course).
Private Sub chkSelectAll_Click()
Dim rst As DAO.Recordset
' Clone the Form's recordset
Set rst = Me.RecordsetClone
' Update Yes/No field in form's
' underlying recordset.
With rst
Do Until .EOF
.Edit
!CheckBoxField = True
.Update
.MoveNext
Loop
End With
End Sub
HTH,
Bob
|