|
The ADO Field Object represents a column of data with a common data type.
All Property objects for a specific instance of a Field object. This collection is not currently supported on UNIX. |
Appends data to a large text or binary data field. | |
Returns all or a portion of the contents of a large text or binary data field. |
The actual length of a field value. | |
One or more characteristics of a field. This property is read-only on UNIX. | |
The defined size of a field. | |
The name of a field. | |
The scale of numeric values in a field. | |
The value of a field that existed in the record before any changes were made. | |
The degree of precision for numeric values in a field. | |
The data type of the field. | |
The current value of the field in the database. | |
The value assigned to the field. |
A ADO Recordset Object has an ADO Fields Collection made up of Field objects. Each Field object corresponds to a column in the recordset. You use the ADO Field Object Value Property of Field objects to set or return data for the current record. Depending on the functionality the provider exposes, some collections, methods, or properties of a Field object may not be available.
The collections, methods, and properties of a Field object are used to:
· return the name of a field with the ADO Field Object Name Property.
· view or change the data in the field with the ADO Field Object Value Property.
· return the basic characteristics of a field with the ADO Field Object Type Property, ADO Field Object Precision Property, and ADO Field Object NumericScale Property properties.
· return the declared size of a field with the ADO Field Object DefinedSize Property.
· return the actual size of the data in a given field with the ADO Field Object ActualSize Property.
· determine what types of functionality are supported for a given field with the ADO Field Object Attributes Property and ADO Properties Collection.
· manipulate the values of fields containing long binary or long character data with the ADO Field Object AppendChunk Method and ADO Field Object GetChunk Method methods.
· resolve discrepancies in field values during batch updating with the ADO Field Object OriginalValue Property and UnderlyingValue properties (if the provider supports batch updates).
Note
All metadata properties (Name, Type, DefinedSize, Precision, and NumericScale) are available before opening the Field object's recordset. Setting them at that time is useful for dynamically constructing forms.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.