View Full Version : Easy query


Sylvia Fergusson
10-18-2001, 12:05 PM
How can I add the delivery charge before VAT onto this query.
Total Sale: Sum(CLng(nz([Quantity]*[UnitPrice]*(1-[Discount]))*100)/100)
Thank you in advance for your help!

Harry
10-19-2001, 03:51 AM
Total Sale: (Sum(CLng(nz([Quantity]*[UnitPrice]*(1-[Discount]))*100)/100)+[Delivery])*1.175

Assuming one charge and 17.5% VAT

Rich
10-19-2001, 04:01 AM
Your better off storing the vat rate for each transaction, since it can be changed at will.