get formula  value for each group in the report -- HELP

Tech_Men
Tech_Men used Ask the Experts™
on
hi all,

i have a time calculation formula
the problem is that i get a grand total for all the report
i need this formula will run for each group separately
i have this formula  :
@100%hrs
Truncate ({Msam.TotalHour})
@100%Min
 {Msam.TotalHour}- Truncate ({Msam.TotalHour})
@TotalTime
CStr (Sum ({@@ 100%hrs}) + (Sum ({@@100%mins}) * 100 \ 60), "###") + ":" +
 CStr (Remainder (Sum ({@@100%mins}) * 100, 60), "00")

the @TotalTime are placed in the group Footer of the report but the value are for all the reports in all groups how can i fix that the @TotalTime will run each group  separately ??
thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Consultant
Most Valuable Expert 2011
Top Expert 2013
Commented:
Try this in the group footer

@TotalTime
CStr (Sum ({@@ 100%hrs},{YOURGROUPFIELD}) + (Sum ({@@100%mins}{YOURGROUPFIELD}) * 100 \ 60), "###") + ":" +
 CStr (Remainder (Sum ({@@100%mins}{YOURGROUPFIELD}) * 100, 60), "00")

Replace {YOURGROUPFIELD} with the field you ar egrouping on

mlmcc

Author

Commented:
thanks aloot ...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial