DBCalc on Main report to show totals from Sub report

edited October 2010 in General
Delphi 5 Pro
RB 7

I have a master/detail relationship with Group Breaks in both the Main
report and the Sub report. I'd like to show a sub-total in the Main report
in the GroupFooter as well as the Report Summary sections. These sub-totals
will be from the amounts displayed in the Sub report.

I added a DBCalc to the GroupFooter and ReportSummary sections on the Main
report and set the Pipeline and DataField to the appropriate values from the
Sub report. Only, the DBCalc values always show as 0 (zero). Is this not the
correct way to handle this? Can someone explain how I might accomplish my
goal?

Thanks,
Michael

Comments

This discussion has been closed.