Data Field names
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.
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.
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com