There are very few cases in which you'll want to store a calculated value in a query. If you're having trouble there are a few things you can do. The simplest is to create one query that does the first calculation and a second query that is based on the first query that does the second calculation.
Another thing that doesn't occur to some people is that you can refer to the original fields in several fields in your query. Instead of doing this:
SELECT Qty, Price, (Qty * Price) as SubTot, (SubTot * 1.08) as Tot FROM tblSales
(which may or may not work), try this:
SELECT Qty, Price, (Qty * Price) as SubTot, ((Qty * Price) * 1.08) as Tot FROM tblSales
Will something like that work for you?
Jeremy =============
Jeremy Wallace AlphaBet City Dataworks
See the Developers' section for some helpful fundamentals.
See thread181-473997 for information on how to get the best responses possible here at Tek-Tips.