DimensionLine Object
Maintains a list of Dimension objects.
Discussion
The DimensionLine object includes the categories used to filter data from each dimension in the cube. The DimensionLine object contains Dimension objects.
You can automate changes to the appearance of the dimension line for a report. You can make the DimensionLine invisible to the user either when you open a report or after the report opens.
Name |
Description |
---|---|
Returns a Dimension object from the DimensionLine object. |
Name |
Description |
---|---|
Returns the Application object. |
|
Returns the number of Dimension objects in the DimensionLine object. |
|
Sets or returns whether the DimensionLine object is visible to the user. |
Example
This example changes two of the current categories for the DimensionLine object in the current report.
Sub Main()
Dim objPPRep as Object
Set objPPRep = GetObject("C:\Cubes and Reports\Sample.ppr")
objPPRep.DimensionLine.Item("Years").Change ("1995")
objPPRep.DimensionLine.Item("Products").Change _
("Go Sport Line")
Set objPPRep = Nothing
End Sub