Hello,

i have found out, if i make a report with more than one page and with
aggregate variables, this variables are initialized more than once in
procedure TFPCustomReport.InitializeAggregates(IsFirstPass : Boolean);
 and this raise and exception, because the variables are duplicates.
The exception is correct.

The reason is, InitializeAggregates is called for every page in the
designed report and not once.

To test this, make a report with Aggregates and design more than one
page. Then run the report -> exception.

Andreas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to