I have an invoice form with Parts and Labor as subforms. The parts section
is based on a query that pulls data from 2 tables (tblParts & tblPartPerClaim)
.. It has fields: ClaimID: tblPartPerClaim; NET PRICE: tblParts; Quantity:
tblPartPerClaim; and a calculated field Part Total: ([NET PRICE]*[Quantity]).
On my subform, I have a text box in the footer that displays the sum of the
Part Total field (=Sum([NET PRICE]*[Quantity])). This text box is called
PartsClaimed.
I need to be able to store this value. I tried using a query that has two
fields. ClaimID: tblPartPerClaim & Parts Claimed: Sum(tblParts.[NET PRICE]
*tblPartPerClaim.{Quantity}). The ClaimID is set to Group By. The Parts
Claimed field is set to expression. I also tried setting it to sum, but with
no change in the result.
Either it will tell me something wasn't included in an aggregate function or
it comes up asking me for the NET PRICE. I'm not any good with SQL, so
please just show me how to structure the query with the appropriate formulas.
Thanks for your help,
Shannan
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200508/1