Few things to consider:
-to make the chkBill work as you want (for individual records) it needs to be bound to a Yes\No fields in the form's recordsource; unbound controls in continuous forms will have the same value for all records.
-once you bind the that check box to a field you can start working on your functionality; you should use the Current event of the form to load the proper value for the xPayAmt based on the value of the checkbox (you can do that by simply calling the checkbox AfterUpdate event you currently have:
Code:
Call chkBill_AfterUpdate
-to make the chkAll update all the individual chkBill in each record you can use the form's recordsetclone to loop through all records in the AfterUpdate event of the chkAll checkbox:
Code:
Private Sub chkAll_AfterUpdate()
Dim rs as DAO.Recordset
Set rs=Me.RecordsetClone
If rs.recordcount=0 then Exit sub
Do Until rs.EOF
rs.Edit
rs("YourChkBillField")=Me.chkAll 'note you need to use the field not the chkBill control bound to it
rs.Update
rs.MoveNext
Loop
'Refresh the form
Me.Refresh
End Sub
For future post please consider copying and pasting the actual code (using the code tags) in the forum instead of screen shots of it; it makes it easier for people helping you to edit it instead of having to type it all over again.
Cheers,