G
Guest
Hi
All my queries using 1 table only called "TNLINES
In access queries I use below expresion field name "Qty1":
Qty1: Sum(IIf([Return]=True,[qty]*(-1),[qty])
I have another field "Price":-
Sum(TNLINES.FILEPRICE) AS Pric
I need to create another field called "Selling Price". When I use below statement, I receive error "Subqueries cannot be used in the expresion (Sum([Qty1]*[Price]))"
Selling Price: Sum([Qty1]*[Price]
What is my mistake & is there any other way
Pls advise
Mark Magese
All my queries using 1 table only called "TNLINES
In access queries I use below expresion field name "Qty1":
Qty1: Sum(IIf([Return]=True,[qty]*(-1),[qty])
I have another field "Price":-
Sum(TNLINES.FILEPRICE) AS Pric
I need to create another field called "Selling Price". When I use below statement, I receive error "Subqueries cannot be used in the expresion (Sum([Qty1]*[Price]))"
Selling Price: Sum([Qty1]*[Price]
What is my mistake & is there any other way
Pls advise
Mark Magese