GetNumCellsForLineItems

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

Syntax

<HsvMDDataBuffer>.GetNumCellsForLineItems lCubeIndex, lPeriodIndex, plNumCells

Argument

Description

lCubeIndex

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

lPeriodIndex

Long (ByVal). The index of the period. Use GetNumPeriodsInCubeForLineItems or GetPeriodIndexFromPOVForLineItems to determine valid index values.

plNumCells

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

Example

GetNumCellsForLineItems is used in the Example for GetLineItemsAtIndex.