N
Nigel
I am trying to do a running balance on individual records, on the form footer
I have total of all the payments made on an invoice, I need the to refresh so
I can calculate the running balance. Currently the only way I can get the
running total to refresh is to move to a new record, anyway I can do this
the end result is a running total of payments and balances. I do have a total
at the bottom of the form for the invoice amount also and I am using a check
box in the record to mark it as a payment
here is the code I am using
If Me!paymentyn = True Then
Me!linetotal = 0
Me!payment = Me!quantity * Me!price
Me!balance = Me!subtotal - Me!paytotal
Me!price.SetFocus
End If
paytotal is the filed name that I need to refresh before exiting the
record,I tried a save record but it didn't like that
thanks
I have total of all the payments made on an invoice, I need the to refresh so
I can calculate the running balance. Currently the only way I can get the
running total to refresh is to move to a new record, anyway I can do this
the end result is a running total of payments and balances. I do have a total
at the bottom of the form for the invoice amount also and I am using a check
box in the record to mark it as a payment
here is the code I am using
If Me!paymentyn = True Then
Me!linetotal = 0
Me!payment = Me!quantity * Me!price
Me!balance = Me!subtotal - Me!paytotal
Me!price.SetFocus
End If
paytotal is the filed name that I need to refresh before exiting the
record,I tried a save record but it didn't like that
thanks