GridDimension

GridDimension is a text function that returns the name of a dimension on a grid's page, column, or row axis. The function syntax is:

  <<GridDimension("GridName", "Axis", index)>> 

Argument

Description

GridName

The name of a grid in the report enclosed in quotes. The Current keyword can also be used.

Axis

The grid axis where the dimension is placed: Page, Col, or Row. Keywords must be used. The Current keyword can also be used.

index

A numeric value representing the offset or index of the dimension on the named axis. The first dimension on an axis has an index of one, the second dimension has an index of two, and so on.

Note:

You can use the Current keyword on a heading cell only (page, row, or column).

Example

You create a shared grid, named mygrid, that has several dimensions on each of the row, column, and page axes. You want to display the name of the first dimension on the row axis in a text box. Because that dimension may change in the future, you use the GridDimension function in the text box. Type the following in the text box:

This report is based on the <<GridDimension("mygrid","Row",1)>> dimension.

Note:

. For information and examples, see Current / Cur Keyword.