GetCellNoData

Gets the data contained in a cell and also indicates whether the cell contains data. This function can be used in these types of rules:

Syntax

HS.GetCellNoData("POV",Var1)

Table 56. Syntax for GetCellNoData Function

Parameter

Description

POV

A valid point of view.

Var1

A variable that specifies if there is data in the cell.

Return Value

The possible return values depend on what is found in the cell:

Example

In this example, the amount in the Sales account is assigned to the dSalesAmt variable. If the Sales account has no data, the statements between the If Then and End If statements are executed.

dSalesAmt = HS.GetCellNoData("A#Sales.I#[ICP None].C1#[None].C2#[None].C3#[None].C4#[None]",bIsNoData)
If bIsNoData = TRUE then
  ...
End If