Is the subform sub_frmpayments bound to tblpayments?
If not that form, which form would they be typing data into that you want saved to tblpayments?
Are the fields on the form in the record source of the form?
If all of that is true then would you mind posting the code from the click event...