scottyjohn
Technical User
Hi all,
I have a form with three text boxes. The first is a bound text box to a field SALE_SUBTOTAL in a table where I ultimately store the form contents as a new record. Under this text box, I have two other text boxes, one which contains the expression =[SALE_SUBTOTAL]*0.2, which displays the VAT for the transaction, and then a third which has =[SALE_SUBTOTAL]*1.2, which is the total including VAT to charge the customer.
So currently, user types the sub total into the SALE_SUBTOTAL box, and the other two boxes are automatically displayed and all works fine. However Ive been asked if its possible to also allow them to type in the grand total box, the one with =[SALE_SUBTOTAL]*1.2 in there, and automatically populate the SALE_SUBTOTAL textbox and the VAT textbox with the relevant backwards calculations. I cant figure out if this is possible and if it is, how would I go about doing this?
Any help much appreciated!
John
I have a form with three text boxes. The first is a bound text box to a field SALE_SUBTOTAL in a table where I ultimately store the form contents as a new record. Under this text box, I have two other text boxes, one which contains the expression =[SALE_SUBTOTAL]*0.2, which displays the VAT for the transaction, and then a third which has =[SALE_SUBTOTAL]*1.2, which is the total including VAT to charge the customer.
So currently, user types the sub total into the SALE_SUBTOTAL box, and the other two boxes are automatically displayed and all works fine. However Ive been asked if its possible to also allow them to type in the grand total box, the one with =[SALE_SUBTOTAL]*1.2 in there, and automatically populate the SALE_SUBTOTAL textbox and the VAT textbox with the relevant backwards calculations. I cant figure out if this is possible and if it is, how would I go about doing this?
Any help much appreciated!
John