Public Function VariantToVariantString( _ ByVal vValue As Variant _ ) As String
VariantToVariantString(CInt(2)) = Chr$(2) + Chr$(2) + Chr$(0) VariantToVariantString(CLng(2)) = Chr$(3) + Chr$(2) + Chr$(0) + Chr$(0) + Chr$(0)See also:
VariantStringToVariant Function MakeVarType FunctionThis function will create a string that can be converted back into the original type of value without requiring the type information to be stored independently. It uses the appropriate Make function to encode the internal representation of a value along with information about the data type of the value.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.