i have a sub form which on the click of a button sets 4 fields
Private Sub Command8_Click()
LastPaymentDate.Value = Date
NextPaymentDate.Value = Date + 7
AmountPaid.Value = [Form_Frm_Customer]![Payments]
[Form_Frm_Customer]![Payments Due By].Value = Date + 7
End Sub
It updates all the fields fine but i keep getting the error 'the changes you requested were not successful because they would create duplicate values'
I have checked the table and all fields are set to allow duplicates.
Cant figure it out.
Private Sub Command8_Click()
LastPaymentDate.Value = Date
NextPaymentDate.Value = Date + 7
AmountPaid.Value = [Form_Frm_Customer]![Payments]
[Form_Frm_Customer]![Payments Due By].Value = Date + 7
End Sub
It updates all the fields fine but i keep getting the error 'the changes you requested were not successful because they would create duplicate values'
I have checked the table and all fields are set to allow duplicates.
Cant figure it out.