Product Home Page | Developer Site | Version | |
One or more characteristics of an object. This property is read-only on UNIX.
Sets or returns a Long value.
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.
|
adFldUpdatable
|
The field can be written.
|
adFldUnknownUpdatable
|
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 ADO Field Object AppendChunk Method and ADO Field Object GetChunk Method 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 subsequent reads are done from the cache.
|
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 © 2003 Sun Microsystems, Inc. All rights reserved.