Public Function MakeByte( _ ByVal vValue As Variant _ ) As Variant
MakeByte(0) = Chr$(0) MakeByte(1) = Chr$(1) MakeByte(255) = Chr$(255) MakeByte("34") = Chr$(34) IsNull(MakeByte(Null)) = TrueSee also:
MakeByteFast Function CoerceToByte FunctionvValue: The Byte value which will be returned as a one-character string. vValue can be a numeric value, a date value, a numeric string, or a date string. Function returns Null if vValue is Null. Function returns an empty string if vValue cannot be fixed up to a number.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.