GetNumPeriodsInCubeForLineItems

Returns the number of periods that are in a subcube and that contain cells with line items.

Syntax

<HsvMDDataBuffer>.GetNumPeriodsInCubeForLineItems lCubeIndex, plNumPeriods

Argument

Description

lCubeIndex

Long (ByVal). The index of the subcube. Use BeginEnumeration or GetCubeIndexFromPOV to determine valid index values.

plNumPeriods

Long. Returns the number of periods with cells that contain line items.

Example

GetNumPeriodsInCubeForLineItems is used in the Example for GetLineItemsAtIndex.