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

Total fields by Section 1

Status
Not open for further replies.

Sadukar

Technical User
Feb 19, 2003
159
IE
Hi all

How do I total fields in a report depending on there section

For Example
From a query like this.

Section M/CCode Hours
Elec M/C1 2
Elec M/C2 1
Meca M/C3 5
Meca M/C4 2
Prod M/C5 3

I want to total the hours by the section.
For Example
Section M/CCode Hours
Elec M/C1 2
Elec M/C2 1
total 3

Meca M/C3 5
Meca M/C4 2
total 7

Prod M/C5 3
total 3

Any help would be appreciated
S.







 
In your report, group by Section. In the Section group footer, place a text box with the control source something like this:
Code:
=Sum([Hours])
This text box will display the sum of hours for each section.....
 
Thanks for the response Cosmo

The footer for my groups isnt showing up in the design mode of the report.
I only have:
Header of report
Header of page
Header of "Section"
Detail
Footer of page
Footer of Report

How do I get it to show up?
 
In design view, click on View then Sorting and Grouping. In the dialog box, select your Section field under Field/Expression, then under Properties at the bottom, change Group Footer to Yes....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top