I'm trying to make a field in a Query that will calculate SDLT(a property tax in the UK), I'm using the Switch function but it only works if the calculation is a simple one Like this: Switch([PurchasePrice]<=40000,[PurchasePrice]*0).
However when I make it a bit more comlicated like this: Switch([PurchasePrice]<=925000,[PurchasePrice]-250000*0.08+7500) all of a sudden it just skips parts of the calculation.
If anyone can help me understand what I'm doing wrong I would really appreciate it.
Many thanks, Yonatan
Kevin Robertson
@Reply 2 years ago
Do the calculation first then use the Switch function based on the calculated field.
You will probably need 2 queries for this.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 25.