Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

How do I add Groups at runtime?

edited May 2002 in General
I am trying to add a Group at runtime using the following code:
Procedure AddReportGroup;
Var
TempGroup : TppGroup;
Begin
TempGroup := TppGroup.Create(Self);
TempGroup.BreakName := 'AccountNunber';
TempGroup.BreakType := btDataField;
ppReport1.AddGroup(TempGroup);
End;
But it is giving an error at the Addgroup(..) line. Do I need set any
another properties..??

Thanks in Advance,
Vikram

Comments

This discussion has been closed.