ExecuteAction

Executes a Data Explorer task for the specified rows and columns.

Syntax

<HFMwDataGrid>.ExecuteAction (lTaskID, varavarRows, varavarCols)

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.

varavarRows

An array of the row numbers that identify the rows for the action.

Input argument.

varavarCols

An array of the column numbers that identify the columns for the action.

Input argument.

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.