Home RAP

RAP - CrossTab

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

  • 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.