AllowZeroLength Property (Remote Data)

       

Returns a value that indicates whether a zero-length string ("") is a valid setting for the Value property of an rdoColumn object with a data type of rdTypeCHAR, rdTypeVARCHAR, or rdTypeLONGVARCHAR.

Syntax

object.AllowZeroLength

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Return Values

The AllowZeroLength property return values are:

Value Description
True A zero-length string is a valid value.
False A zero-length string isn't a valid value.

Remarks

If AllowZeroLength is False for a column, you must use Null to represent "unknown" states — you cannot use empty strings.