Salesforce

VarIndex (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

VarIndex (Magic xpa 2.x)

Returns the index of a variable according to the variable's name.

The VarIndex function can be used in other Var functions as the variable index.

Syntax:

VarIndex(variable name)

Parameters:

variable name: A string representing a variable's name.

Returns:

The index of a requested variable.

Example:

VarAttr(VarIndex('Customer ID')) returns the attribute of the variable named 'Customer ID'.

Note:

If the variable name is not found, this function returns Zero.
When the given variable name exists more than once, the function relates to the lowest variable in the task tree.

See also:

The Online and Rich Client Samples projects (program VA06 and RVA06)

Reference
Attachment 
Attachment