Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
RAP
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
RAP - CrossTab
rbuser
February 2004
edited February 2004
in
RAP
RB 7.03 Enterprise
I need to define the columns in crosstab at runtime before report print.
I have a simple crosstab with 1 column. How can I change fieldname of column
at runtime with RAP
Best Regards
Comments
nardmoseley
February 2004
edited February 2004
Try using the Report.BeforePrint event to modify Crosstab.ColumnDefs.
example:
Crosstab1.ColumnDefs[0].FieldAlias := 'Contact';
Crosstab1.ColumnDefs[0].FieldName := 'Contact';
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
This discussion has been closed.
Comments
Try using the Report.BeforePrint event to modify Crosstab.ColumnDefs.
example:
Crosstab1.ColumnDefs[0].FieldAlias := 'Contact';
Crosstab1.ColumnDefs[0].FieldName := 'Contact';
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com