Salesforce

VarName (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

VarName (Magic xpa 2.x)

Provides a variable's origin and description.

Syntax:

VarName(variable)

Parameters:

variable: A value representing a variable index. Should be used with the VAR literal.

Returns:

A string containing the table name where the variable originates, concatenated with ' ' and the variable description of the variable in that table. If the variable is a virtual one, then the table name would indicate 'Virtual' or 'Parameter'.

Example:

If variable A is 'Customer Number' from the Customer table the function VarName('A'VAR) returns 'Customer.Customer Number'.

See also:

Var functions

The Online and Rich Client Samples projects (program VA05 and RVA05)

Reference
Attachment 
Attachment