Home General

summary totals on first page

edited May 2011 in General
I have a multi level report that begins with a summary page from
calculations derived on the subsequent subreports (column totals).

The totals in the details sections are always correct, however, the
totals on the summary page (page 1) are not.

This first page uses labels and the variables in the summary set those
labels like this in the 'OnCalc' event.

sum := FindComponent('lblOnFirstPage');
if sum <> nil then
TppLabel(sum).Text := TppDBCalc(sender).Value;

What is the best way to get these totals copied to the front page?




This discussion has been closed.