UserColumnSummaryLabel Property

Sets or returns the user-defined label for the innermost summary column in a nested crosstab.

Syntax

object.UserColumnSummaryLabel

Applies To

Graph Object

Graphs

Discussion

Use this property to define a summary column label. Set the EnableUserColumnSummaryLabel property to True to use this property instead of using the default category label for the column.

The column label is only visible in a crosstab report when the ShowSummaryColumn property is set to True.

Type

String

Access

Read/Write (Graph)

Write (Graphs)

Example

This example resets the graph object to use user-defined summary labels for rows and columns.

Sub Main
   Dim objPPRep as Object
   Dim objPPGraph as Object
   Set objPPRep = GetObject(,"CognosPowerPlay.Report")
   Set objPPGraph = objPPRep.Graphs.Item(1)
   objPPGraph.EnableUserColumnSummaryLabel = True
   objPPGraph.UserColumnSummaryLabel = "Summary Total"
   objPPGraph.EnableUserRowSummaryLabel = True
   objPPGraph.UserRowSummaryLabel = "Summary Total"
   Set objPPGraph = Nothing
   Set objPPRep = Nothing
End Sub

Related Topics