ADO 字段对象


字段对象

ADO Field 对象包含有关 Recordset 对象中的列的信息。 Recordset 中的每一列都有一个 Field 对象。


程序ID

set objField=Server.CreateObject("ADODB.field")

特性

Property Description
ActualSize Returns the actual length of a field's value
Attributes Sets or returns the attributes of a Field object
DefinedSize Returns the defined size of a field
Name Sets or returns the name of a Field object
NumericScale Sets or returns the number of decimal places allowed for numeric values in a Field object
OriginalValue Returns the original value of a field
Precision Sets or returns the maximum number of digits allowed when representing numeric values in a Field object
Status Returns the status of a Field object
Type Sets or returns the type of a Field object
UnderlyingValue Returns the current value of a field
Value Sets or returns the value of a Field object

方法

Method Description
AppendChunk Appends long binary or character data to a Field object
GetChunk Returns all or a part of the contents of a large text or binary data Field object

收藏

Collection Description
Properties Contains all the Property objects for a Field object