Attributes

Sets or returns a value that indicates one or more characteristics of a Field object.

Reurn Values

For a Field object, the value specifies characteristics of the field and can be a sum of any one or more of these FieldAttributeEnum values:

Constant Value Description
adFldUpdatable 4 Indicates that you can write to the field.
adFldFixed 16 Indicates that the field contains fixed-length data.
adFldIsNullable 32 Indicates that the field accepts Null values.
adFldMayBeNull 64 Indicates that you can read Null values from the field.
adFldLong 128 Indicates that the field is a long binary field.

In ADO, the following values are always returned: adFldIsNullable, adFldMayBeNull. Other values are determined based on the actual field (adFldLong, adFldFixed) or how the recordset was opened (adFldUpdatable).