Try using the single variable in the main report's summary band to keep track of the main report's total as well. Use it's OnCalc event to keep track of totals calculated in the main report, then when the subreport is printed, it will add it's value to the running total. -- Regards,
Comments
Take a look at the following rbWiki article.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Calculations/How_To...Display_Subreport_Totals_in_the_Main_Report
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
the article was very usefull!
Hans
what I want to do is to use this subreport summary together with the main
summary and display a total.
I assume that it is a timing question, but I am not managing to find out
how!
Hans
Try using the single variable in the main report's summary band to keep
track of the main report's total as well. Use it's OnCalc event to keep
track of totals calculated in the main report, then when the subreport is
printed, it will add it's value to the running total.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thanks for the help so far!
Hans