Welcome to the forum....
I read this a little different.
It sounds like you want to do a calculation in a query, then use the result in another calculation without having to retype the entire first calculation.
Start out by using two queries. ( they can be combined into one query, but I'm going to show two queries)
Name the first query "Query1". (pretty slick, no???)
The query SQL would be
Code:
SELECT nrazor, rk2, rhtr, IIf([nrazor]=2,1,0)+IIf([rk2]=1,1,0) AS PSFQual FROM YourTable;
Change "
YourTable" to the actual name of your table.
Execute the query to see that it returns the expected results.
If all is OK, now create another query (maybe named "Query2"
)
The SQL for this query would be
Code:
SELECT PSFQual, rhtr, IIF([PSFQual]=1,1,0 + IIf([rhtr]=1,1,0) AS NewNeg FROM Query1;
If you
didn't name the first query "Query1", be sure to change "Query1" to the name use used.
Execute this query to see if you get the expected results....
Now you can use the query names you want with all of the fields you need. Add the fields to both queries.