Hi all,
I have the following code:
If refund Then
[refund_less_20percent] = ([refund_amount] - ([refund_amount] * 0.2))
Else
refund_less_20percent = 0
End If
If partial_refund Then
[price] = [price] - [refund_amount]
End If
The refund and partial refund are buttons on the form, and the result is save to the database for future reports and the price field is the price amount in the database. I am trying to select a partial button and entering a dollar amount it is then to remove that dollar amount from the price field and write that to the database over the old price amount.
I would also like to update the record on the screen with the new price, is that possible if so any ideas on that would help.
Thank you for any help on this..
I have the following code:
If refund Then
[refund_less_20percent] = ([refund_amount] - ([refund_amount] * 0.2))
Else
refund_less_20percent = 0
End If
If partial_refund Then
[price] = [price] - [refund_amount]
End If
The refund and partial refund are buttons on the form, and the result is save to the database for future reports and the price field is the price amount in the database. I am trying to select a partial button and entering a dollar amount it is then to remove that dollar amount from the price field and write that to the database over the old price amount.
I would also like to update the record on the screen with the new price, is that possible if so any ideas on that would help.
Thank you for any help on this..
Last edited: