Master Detail - Tppdbcalc
Hi
I have a report with
Master ppdbmaster
|___ Detail ppdbdetaillevel1
|______ Detail ppdbdetaillevel2
I made a report with group on master.
At detail i put a subreport with ppdbdetaillevel1 dbpipeline
At detail of subreport I put another subreport with ppdbdetailevel2
dbpipeline.
I want on resume o group (ppdbmaster) have
tppdbcalc - count for records at pddbdetaillevel1
tppdbcalc - sum for values from ppdbdetailevel2
Report works fine. Each group star a new page, but tppdbcalc isn´t
working.
Could you help me? - Delphi XE, Report Builder 15.02.
Best regards
--
I have a report with
Master ppdbmaster
|___ Detail ppdbdetaillevel1
|______ Detail ppdbdetaillevel2
I made a report with group on master.
At detail i put a subreport with ppdbdetaillevel1 dbpipeline
At detail of subreport I put another subreport with ppdbdetailevel2
dbpipeline.
I want on resume o group (ppdbmaster) have
tppdbcalc - count for records at pddbdetaillevel1
tppdbcalc - sum for values from ppdbdetailevel2
Report works fine. Each group star a new page, but tppdbcalc isn´t
working.
Could you help me? - Delphi XE, Report Builder 15.02.
Best regards
--
This discussion has been closed.
Comments
Where are the DBCalc components located in your report? If you wish to
show the value of a DBCalc(s) outside the subreport(s), I recommend
using TppVariable instead of DBCalc components.
Take a look at the following article/example on how to display subreport
calculations in the main report.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Calculations/How_To...Display_Subreport_Totals_in_the_Main_Report
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com