C
Carlee
Hi there,
Newsgroups were awesome for helping me calculate a billing rate for print
counts which are 130% of the target volume. I used this formula in my query
(it worked great):
DiscountTier2:
IIf([TargetVol_100]*(0.1)*(0.1)<IIf((([PrintCount]-(1.3)*([TargetVol_100]))*(0.1))>0,([PrintCount]-(1.3)*([TargetVol_100]))*(0.1),0),[TargetVol_100]*(0.1)*(0.1),IIf((([PrintCount]-(1.3)*([TargetVol_100]))*(0.1))>0,([PrintCount]-(1.3)*([TargetVol_100]))*(0.1),0))
Problem:
I want to create a discount of 12% for print volumes in excess of 140% of
Target
volume. In Excel, this works :
=max(0,(PrintCount - 1.4(TargetVol_100)) * .12))
I can't use the max function the same way in access. Can anyone help me
figure this out using an iif statement?
Many thanks in advance,
Carlee
Newsgroups were awesome for helping me calculate a billing rate for print
counts which are 130% of the target volume. I used this formula in my query
(it worked great):
DiscountTier2:
IIf([TargetVol_100]*(0.1)*(0.1)<IIf((([PrintCount]-(1.3)*([TargetVol_100]))*(0.1))>0,([PrintCount]-(1.3)*([TargetVol_100]))*(0.1),0),[TargetVol_100]*(0.1)*(0.1),IIf((([PrintCount]-(1.3)*([TargetVol_100]))*(0.1))>0,([PrintCount]-(1.3)*([TargetVol_100]))*(0.1),0))
Problem:
I want to create a discount of 12% for print volumes in excess of 140% of
Target
volume. In Excel, this works :
=max(0,(PrintCount - 1.4(TargetVol_100)) * .12))
I can't use the max function the same way in access. Can anyone help me
figure this out using an iif statement?
Many thanks in advance,
Carlee