Hi All,
I have a form that is used to take card payments, and I would like it to calculate the charge amount based on the type of card used.
The fields on the form are:
Card type - combo box
Net amount
Charge
Total amount
I thought I could use an IF expression to say that "If the card type is Visa Credit, then multiply the net amount field by 0.015 and display the result in the charge field, otherwise display a 0.
My inexperience in this type of expression means that although I understand the logic, I am unable to produce the written code.
Can anyone offer any help?
Thanks
Phil
I have a form that is used to take card payments, and I would like it to calculate the charge amount based on the type of card used.
The fields on the form are:
Card type - combo box
Net amount
Charge
Total amount
I thought I could use an IF expression to say that "If the card type is Visa Credit, then multiply the net amount field by 0.015 and display the result in the charge field, otherwise display a 0.
My inexperience in this type of expression means that although I understand the logic, I am unable to produce the written code.
Can anyone offer any help?
Thanks
Phil