D
DMWM
Hi,
From reading around the subject I can see this is a very tricky one and
there are many opinions on it.
I have decided to go down the route of storing the VAT rate in a table and
referring it to it in the query to do the calculation.
Here's the problem:
There are products that are VAT exempt and products that are not. If they
are not the VAT rate is 15% (currently, provision is built in to change this
in the future)
Customers can order both VAT exempt and non exempt products
I only wish to calculate the VAT on items that are non exempt.
So far i have tblVAT with VAT_ID and VAT_Rate in and Product_VAT_ID in
tblProducts that is linked with the VAT_ID from tblVAT
I am trying to get the query to produce a field that is the VAT amount but
only if the product has the VAT_ID = 2 (VAT_ID = 1 is for exempt items and is
null)
this is the code i have devised from research on the newsgroup which is
definetely not working:
[IIf[tblVAT].VAT_ID=2,([Quantity]*[Actual_Price]*[VAT_Rate])]
NB: Quantity and Actual_Price are fields to distinguish how many of the item
and the net price, in this way i can work out the VAT line by line; this may
have been obvious though
Please can someone help me as I am tearing my hair out!!
Many Thanks
DMWM
From reading around the subject I can see this is a very tricky one and
there are many opinions on it.
I have decided to go down the route of storing the VAT rate in a table and
referring it to it in the query to do the calculation.
Here's the problem:
There are products that are VAT exempt and products that are not. If they
are not the VAT rate is 15% (currently, provision is built in to change this
in the future)
Customers can order both VAT exempt and non exempt products
I only wish to calculate the VAT on items that are non exempt.
So far i have tblVAT with VAT_ID and VAT_Rate in and Product_VAT_ID in
tblProducts that is linked with the VAT_ID from tblVAT
I am trying to get the query to produce a field that is the VAT amount but
only if the product has the VAT_ID = 2 (VAT_ID = 1 is for exempt items and is
null)
this is the code i have devised from research on the newsgroup which is
definetely not working:
[IIf[tblVAT].VAT_ID=2,([Quantity]*[Actual_Price]*[VAT_Rate])]
NB: Quantity and Actual_Price are fields to distinguish how many of the item
and the net price, in this way i can work out the VAT line by line; this may
have been obvious though
Please can someone help me as I am tearing my hair out!!
Many Thanks
DMWM