Previous PageNext Page

9.5.3 Attributes Property

One or more characteristics of an object. This property is read-only on UNIX.
 

Return Values

Sets or returns a Long value.
 

Field

For a Field object, the Attributes property is read-only, and its value can be the sum of any one or more of these FieldAttributeEnum values:
 

Value Description
adFldMayDefer
 
The field is deferred, that is, the field values are not retrieved from the data source with the whole record, but only when you explicitly access them.
 
adFldUpdateable
 
The field can be written
 
adFldUnknownUpdateable
 
The provider cannot determine if the field can be written.
 
adFldFixed
 
The field contains fixed-length data.
 
adFldIsNullable
 
The field accepts Null values.
 
adFldMayBeNull
 
You can read Null values from the field.
 
adFldLong
 
The field is a long binary field. Also indicates that you can use the AppendChunk and GetChunk methods.
 
adFldRowID
 
The field contains some kind of record ID (record number, unique identifier, and so forth).
 
adFldRowVersion
 
The field contains some kind of time or date stamp used to track updates.
 
adFldCacheDeferred
 
The provider caches field values and that subsequent reads are done from the cache.
 

Remarks

Use the Attributes property to set or return characteristics of Field objects.
 
When you set multiple attributes, you can sum the appropriate constants. If you set the property value to a sum including incompatible constants, an error occurs.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page