carrybag93
Registered User.
- Local time
- Today, 15:58
- Joined
- May 24, 2012
- Messages
- 73
I have three fields, 'Sub Total' (which is calculated by "[Quantity]*[Unit Cost]"), 'VIP Discount' (Yes/No data type) and 'After Discount'.
The VIP Discount is for exclusive customers. It takes 5% off the Subtotal.
I would like an expression to make up the 'After Discount' field. It should be the amount of the subtotal minus 5% of the subtotal, but only if the VIP Discount check-box is ticked. If the VIP Discount check-box is unticked, the 'After Discount' field should display the same amount as the Sub Total field. Is this possible? I have no knowledge of expressions at all.
The VIP Discount is for exclusive customers. It takes 5% off the Subtotal.
I would like an expression to make up the 'After Discount' field. It should be the amount of the subtotal minus 5% of the subtotal, but only if the VIP Discount check-box is ticked. If the VIP Discount check-box is unticked, the 'After Discount' field should display the same amount as the Sub Total field. Is this possible? I have no knowledge of expressions at all.