GetCellAdjustments

Returns an array that describes the specified cell’s adjustments.

Tip:

To return a cell’s adjustments as an XML string, use GetCellAdjustmentsAsXML.

Syntax

<HFMwDataGrid>.GetCellAdjustments (lRow, lColumn)

Argument

Description

lRow

The index (0-based) that identifies the cell’s row.

Input argument. Long subtype.

lColumn

The index (0-based) that identifies the cell’s column.

Input argument. Long subtype.

Return Value

An array of strings describing the cell adjustments. The array contains one item per adjustment. Each item includes the adjustment’s amount and journal label.

Example

The following example prints the adjustments for the specified cell to the browser.

Dim sXML
'cHFMDataGrid is a previously set HFMwDataGrid object
sXML = cHFMDataGrid.GetCellAdjustments (0, 0)
For i = 0 to uBound(sXML)
  Response.Write "<p>" & sXML(i) & "</p>"
Next