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'.