Salesforce

VariantGet (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

VariantGet (Magic xpa 3.x)

Retrieves the value of a specified variant data type.

Syntax:

VariantGet (variant value, attribute)

Parameters:

variant value – A BLOB value storing the variant data type. See Variant Storage Types.

attribute – Enter a character below to indicate the Magic xpa data attribute:

A – Alpha

N – Numeric

L – Logical

D – Date

T – Time

B – BLOB

U – Unicode

Returns:

The value as specified by the variant data type and the Magic xpa data attribute.

Examples:

VariantGet (B,'A') returns an Alpha value.

VariantGet (C,'D') returns a Date value.

Exceptions:

This function is not supported for Rich Client tasks.

See also:

The Online Samples project (program CS05)

Reference
Attachment 
Attachment