Hi!
This looks like you are working in the query design view. If that is the case then SQL does not recognize If-Then-Else so you need to use a nested IIf like this:
BonusAmt: IIf([SumOfQuantity] > 100, [SumOfQuantity]*10, IIf([SumOfQuantity] > 75, [SumOfQuantity]*5, 0)
This will also work as the control source of a textbox:
=IIf([SumOfQuantity] > 100, [SumOfQuantity]*10, IIf([SumOfQuantity] > 75, [SumOfQuantity]*5, 0)
Of course [SumOfQuantity] needs to be part of the record source of the form or a field in the table or query that the query is based on.
hth
Jeff Bridgham
bridgham@purdue.edu