C
communities.microsoft.com
I am having trouble creating an If-Then statement in a
Microsoft Office - Access 2000 Report. I am trying to
return one of two results based on the following logic:
If [TOTAL] > $10,000 is TRUE, then the returned result
should be ([TOTAL]-10,000)*5%)
If [TOTAL] > $10,000 is FALSE, then the returned result
should be (1000)
So far, I have tried this statement, but it comes back
with a general syntax error:
IIf ((Sum([Price]*[Quantity]))>10000), (1000+(((Sum
([Price]*[Quantity]))-10000)*5%)), 1000)
The (Sum([Price]*[Quantity])) line works in other cells,
so I don't think that is the problem.
Any help would be appreciated!
Thanks,
Sean
Microsoft Office - Access 2000 Report. I am trying to
return one of two results based on the following logic:
If [TOTAL] > $10,000 is TRUE, then the returned result
should be ([TOTAL]-10,000)*5%)
If [TOTAL] > $10,000 is FALSE, then the returned result
should be (1000)
So far, I have tried this statement, but it comes back
with a general syntax error:
IIf ((Sum([Price]*[Quantity]))>10000), (1000+(((Sum
([Price]*[Quantity]))-10000)*5%)), 1000)
The (Sum([Price]*[Quantity])) line works in other cells,
so I don't think that is the problem.
Any help would be appreciated!
Thanks,
Sean