Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

How identify the max number in the detail section of a report and put iit in the footer of that group

I have a report that contains records in the detail section of the report.  In each record is a number field named "txtCount".  Then in the footer of that group I would like to have a field that has the max number from the "txtCount" number in the detail section.

In other words, if the detail records look like:

Field1          Count
Record 1     5
Record 2     7
Record 3     12
Record 4     4

Then the number I want to show in the footer is 12.

How can I do this?  What is the control source for the field in the footer?

--Steve
ASKER CERTIFIED SOLUTION
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just add a textbox into the report footer with a controlsource of

=max([Count])