Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to total the quantiy and unit price

Status
Not open for further replies.

MarySan1

Technical User
Jul 8, 2004
6
US
I am using access 97. In the design view of the query, I want to total the quantiy of product times the price per unit to get a total of the invoice. Can anyone help me with writting this expression?
 
SELECT SUM(QtyProduct * UnitCost) As TotalInvoice
FROM Orders --or from your invoice table
WHERE InvoiceID = ?


"Own only what you can carry with you; know language, know countries, know people. Let your memory be your travel bag.
 
TotalOfInvoice: Sum([quantiy of product] * [price per unit])

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top