Hi, I have a form with a sub-form. On my main form there is a calculated field called AmountPaid, it is a sum of the total payments in the subform.
On the main form I have a field called Current.
I am using the following code to update the Current Field when the AmountPaid is = to the Amount Due.
If [AmountPaid] = [PaymentAmountDue] Then
[PaymentCurrent] = "Yes"
Else
[PaymentCurrent] = "No"
End If
The issue is, no matter where I put this code it will not trigger the change. I tried On Change, After Update, On Dirty... Any help on how to make it happen?
Thanks.
Fen
On the main form I have a field called Current.
I am using the following code to update the Current Field when the AmountPaid is = to the Amount Due.
If [AmountPaid] = [PaymentAmountDue] Then
[PaymentCurrent] = "Yes"
Else
[PaymentCurrent] = "No"
End If
The issue is, no matter where I put this code it will not trigger the change. I tried On Change, After Update, On Dirty... Any help on how to make it happen?
Thanks.
Fen