Converts a variable or field of any type into a binary string.

Value2Variant(cValue)

Parameters

cValue

Any datatype (including NULL) is valid.

A size optimized LCK Value structure plus the actual data for character types is returned, which can be stored into a
MEMO NOCPTRANS or BLOB field and later deserialzed into the original value with Variant2Value.

Tip

SET BLOCKSIZE TO 0 - for the table to make storage more efficient.

Return Value

String.

See Also

Reference

Colors2RGB
Double2Str
Float2Str
Int642Str
Long2Str
Num2Binary
PG_ByteA2Str
PG_Str2ByteA
RGB2Colors
Short2Str
Str2Double
Str2Float
Str2Int64
Str2Long
Str2Short
Str2UInt64
Str2ULong
Str2UShort
UInt642Str
ULong2Str
UShort2Str
Variant2Value