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!

adding values to a report

Status
Not open for further replies.

gdzilla

Technical User
Jul 22, 2002
18
0
0
US

hello.

what is the expression that i would write that would add up the value from all the rows of a field in a query for a report?

example:
FIELD
1
0
1
1
1

so, what is the expression that i would enter in a text box in a report to get the sum of "4"?

thanks!
 

Add a textbox to the report or section footer and set its ControlSource to =Sum([YourFieldName])

Depending on your data, you may need to trap for null values.

Cheers, Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top