I'm currently having a hard time getting my expression to run in my
billing query.
My setup:
MS Access 2003
Qry Billing (includes 6 tables such as Client, Price list, Formula,
Order, Order detail and Billing)
This query helps to create our invoice forms.
My problem:
Our Government has been so kind enough to reduce our sales tax by 1% as
per the 1st of July 2006. But this nice gesture has been giving me
headaches. In my query, I've applied the tax rate manually like so
[TPS RATE: 0.07]
I initially tried going through VB but I didn't manage to get
fonctionnal end result.
What I wish to do is to implement a conditionnal rate that will take
into consideration the date change. I've tried many option all around
the following suggestion but nothing seems to be working. (#38899 is
the equivalent number for July 1st 2006).
TPS RATE: iff( ([Billing]![BILLING DATE] < Date(38899)),"0.07",
"0.06")
Since a rate of 7% applies prior to july 1st and becomes 6% (july 1st
included). I want the system to manage the rate change.
Regards