If ElseIf Statments

Avatar

Avatar
Level 1
keveng73216386
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
keveng73216386
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
keveng73216386
Level 1

12-06-2017

I need to add the Sales Tax for a state in a dropdown box to a numeric field.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

26-09-2017

Hi,

Your description is a bit vague but if i understand correctly, you can use a button to make the calculation. I havent included any logic to protect against empty fields.

form1.#subform[0].btnCalculate::click - (FormCalc, client)

grandTotal = subTotal + (subTotal * (salesTaxCbo / 100))

Assuming:

salesTaxCbo - Checkbox prefilled with tax percentage

subTotal - Numeric field

grandTotal - Numeric field which gets calculated amount.

btnCalculate - The button to calculate the grand total

1311758_pastedImage_3.png

----------------------------------------------------------

1311745_pastedImage_2.png

-----------------------------------------------------------

1311759_pastedImage_4.png