Stiletto
1155 pts. | Oct 7 2009 4:06PM GMT
Actually, I don’t think you need to specify the second @If (and I don’t think the code above calcs the tax correctly); this should work:
@If(Type3 = “Plant#3″; SubTotal * 0.05; Prod = “Production”; 0; SubTotal * 0.07 )
Ledlincoln
1220 pts. | Oct 9 2009 1:50PM GMT
Stiletto is right; I had a logic error (the first !=). This, or Stiletto’s version would be correct.
@If(Type3 = “Plant#3″; SubTotal * 0.05; @If(Prod != “Production”; SubTotal * 0.07; 0))






