ICalendarDimensionClass.DownLevel

Syntax

DownLevel(Calendar: IDimInstance; El: Integer): Integer;

Parameters

Calendar. Data of the calendar dictionary, by which calculation is executed.

El. Index of the element, relative to which calculation is executed.

Description

The DownLevel method returns an index of the element, which is a parent for the specified element.

Comments

If the parent element is missing, the method returns -1.

For example, if the calendar dictionary contains Years, Half-years, Quarters levels and the calculation is executed for:

Example

The property use is given in the example for ICalendarDimensionClass.IifLevel.

See also:

ICalendarDimensionClass