Group/Summary Question
Hello,
I am trying to use data from a group footer in the summary band of a report
to create a summary table of the group footer information.
My approach:
is to use ppMemo objects in the phDynamic SummaryBand.
In the Group footer before print:
pplblGroup2Footer.Caption := ppGroup2.CurrentValue ;
Then I would like to add the pplblGroup2Footer.Caption to the Memo in the
summary band.
My problem:
Choosing the right event for the memo.lines.add(pplblGroup2Footer.Caption)
I keep getting duplicate lines in memo for each group.
Thank you,
Mike Malinowski
GIS
I am trying to use data from a group footer in the summary band of a report
to create a summary table of the group footer information.
My approach:
is to use ppMemo objects in the phDynamic SummaryBand.
In the Group footer before print:
pplblGroup2Footer.Caption := ppGroup2.CurrentValue ;
Then I would like to add the pplblGroup2Footer.Caption to the Memo in the
summary band.
My problem:
Choosing the right event for the memo.lines.add(pplblGroup2Footer.Caption)
I keep getting duplicate lines in memo for each group.
Thank you,
Mike Malinowski
GIS
This discussion has been closed.
Comments
Instead of using a TppLabel, try using a TppVariable set to type String.
Then you are able to use the TppVariable.OnCalc event to update its value
and the value of the memo in the summary. Then set the
TStringList(TppMemo.Lines).Duplicates property to dupIgnore so you won't
receive any repeated values in the memo.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com