ExecuteDataExplorerAction

Executes a Data Explorer task for the specified range of cells.

Syntax

<HFMwDataGrid>.ExecuteDataExplorerAction (lTaskID, lRowStart, lColStart, lRowEnd, lColEnd)

Argument

Description

lTaskID

The ID of the task to be executed. These IDs are represented by the HFMConstants type library constants listed in Data Explorer Task Constants.

Input argument. Long subtype.

lRowStart

The index (0-based) that identifies the first row in the range of cells.

Input argument. Long subtype.

lColStart

The index (0-based) that identifies the first column in the range of cells.

Input argument. Long subtype.

lRowEnd

The index that identifies the last row in the range of cells.

Input argument. Long subtype.

lColEnd

The index that identifies the last column in the range of cells.

Input argument. Long subtype.

Return Value

Returns an HRESULT – 0 indicates success, a non-zero value indicates an error. You should always check the return value for a non-zero HRESULT.

Tip:

You can use the HsvResourceManager object to obtain more information on non-zero return values. For details, see HsvResourceManager Object Methods.