TTXGroupContents - Events - Properties
Description
Use TTXGroup to create master/detail reports without real master/detail tables.Use TTXCalcLabel components to calculate totals for groups.
Each time when data in database field, referenced by FieldName , changes, a new group is started. GroupHeader band is printed before detail bands and GroupFooter is printed after detail bands in group.
Contents - TTXGroup - Properties
OnNewData
Delphi declaration
property OnNewData: TTXGroupOnNeedData read FOnNewData write FOnNewData;
C++ declaration
__property TTXGroupOnNeedData OnNewData={ read=FOnNewData, write=FOnNewData }
Description
OnNewData event is triggered every time when the next record is fetched from the database.
DataSource
Delphi declarationFieldName
property DataSource;
C++ declaration
__property DataSource
GroupFooter
Group footer.GroupHeaderDelphi declaration
property GroupFooter: TTXRBand read FGroupFooter write SetGroupFooter;
C++ declaration
__property TTXRBand *GroupFooter={ read=FGroupFooter, write=SetGroupFooter, nodefault }
Description
GroupFooter band is printed after detail bands in group.
Group header.MasterDelphi declaration
property GroupHeader: TTXRBand read FGroupHeader write SetGroupHeader;
C++ declaration
__property TTXRBand *GroupHeader={ read=FGroupHeader, write=SetGroupHeader, nodefault }
Description
GroupHeader band is printed before detail bands in group.
Delphi declaration
property Master;
C++ declaration
__property Master