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

Data Field names

edited December 2003 in General
Greetings All,


I have a data set that has a varying number of columns depending upon a
parameter on input to the stored procedure.
The column names may also change. [This is a crossTab query]

My Question -- Could someone give me a hint on the best way to display the
column "Name" in a band. Obviously I can do it via "getText" on a string
label from within the application, but I was wondering if there was a better
way.

Thanks.
David.

Comments

  • edited December 2003
    Hi David,

    As you probably already know the TppCrossTab component however adds the
    field names automatically to its columns. Unfortunately there is no built
    in way to add a field name to a report without using a TppLabel or
    TppVariable and assigning it in the GetText or OnCalc events. You could
    perhaps pull the names directly off the datapipeline using the
    TppDataPipeline.Fields[].FieldName property.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.