C
CJ
Hi groupies.
So for us in Canada we have a new GST rate of 6% effective July 1. I am
trying to write an IIF statement as a calculation in a text box to check a
date and if the date is >June 30 2006 then apply 6% otherwise 7%.
Here is what I have....but everything is still 7%.
=IIf([subProgress].[Form]![ToDate]>"30/06/2006" And
[txtExempt]="No",[txtToDate]*0.06,IIf([subProgress].[Form]![ToDate]<"30/06/2006"
And [txtExempt]="No",[txtToDate]*0.07,[txtToDate]*0))
My text box is on a tab control on the parent form....the date is on a
subform of the parent.
Thanks
CJ
So for us in Canada we have a new GST rate of 6% effective July 1. I am
trying to write an IIF statement as a calculation in a text box to check a
date and if the date is >June 30 2006 then apply 6% otherwise 7%.
Here is what I have....but everything is still 7%.
=IIf([subProgress].[Form]![ToDate]>"30/06/2006" And
[txtExempt]="No",[txtToDate]*0.06,IIf([subProgress].[Form]![ToDate]<"30/06/2006"
And [txtExempt]="No",[txtToDate]*0.07,[txtToDate]*0))
My text box is on a tab control on the parent form....the date is on a
subform of the parent.
Thanks
CJ