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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having Problems Summing it up

Status
Not open for further replies.

webjunk

MIS
Dec 28, 1999
42
0
0
US
I have a continous form with the following text boxes:
ID: Automatic ID
Code: Text
Description: Text
Cost: Currency
Qty: Numeric
LineTotal: =Cost*Qty

All except the LineTotal have come from a Table called TAB_Products. On the footer I have 2 other text boxes:
TotalCurrency and TotalProducts which are set to Currency each.

TotalCurrency= Sum(LineTotal)
TotalProducts=Sum(Qty)

The boxes on the footer both give me an #Error. What can be wrong?

Thanks in advanced.
 
TotalCurrency= Sum(Cost*Qty)
To sum calculated controls you need to sum the calculation formula...

Good luck,

[pipe]
Daniel Vlas
Systems Consultant
danvlas@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top