Hi everyone,
I have a form with a control to calculate VAT, however since books are zero rated for VAT I need to calculate it for some items but not for others. Here's the code I used:
If [Books] = False Then
[VAT] = [LineTotal] * 0.175
Else
[VAT] = 0
End If
[Books] is a yes/no check box.
This kinda works, when a book is entered into an order the VAT is £0.00 (good so far), however if you then enter an item that isn't a book into the same order the VAT is calculated for the non-book item and the book's VAT changes from £0.00 to the same value as the VAT for the non-book item, even though the two items are not the same price and so should have different VAT values.
Any assistance would be greatly appreciated.
I have a form with a control to calculate VAT, however since books are zero rated for VAT I need to calculate it for some items but not for others. Here's the code I used:
If [Books] = False Then
[VAT] = [LineTotal] * 0.175
Else
[VAT] = 0
End If
[Books] is a yes/no check box.
This kinda works, when a book is entered into an order the VAT is £0.00 (good so far), however if you then enter an item that isn't a book into the same order the VAT is calculated for the non-book item and the book's VAT changes from £0.00 to the same value as the VAT for the non-book item, even though the two items are not the same price and so should have different VAT values.
Any assistance would be greatly appreciated.