Record object (ADO version 2.5) ¶
ADO
Record
object is used to hold a row in a recordset, or a file or directory of a file system.
Versions prior to ADO 2.5 can only access structured databases. In a structured database, each table has exactly the same number of columns in each row, and each column is made up of the same data type.
Record
object allows access to datasets with the number of columns and /or different data types between rows.Grammar ¶
objectname.property
objectname.method
Attribute ¶
Attribute | Description |
|---|---|
ActiveConnection | Sets or returns the Record object to which the Connection object currently belongs. |
Mode | Sets or returns valid permissions to modify data in a Record object. |
ParentURL | Returns the absolute URL of the parent Record. |
RecordType | Returns the type of the Record object. |
Source | Sets or returns the src parameter of the Open method of the Record object. |
State | Returns the state of the Record object. |
Method ¶
Method | Description |
|---|---|
| Cancel once |
| Close one. |
| Copy a file or directory to another location. |
| Delete a file or directory. |
| Returns a |
| Move a file or directory to another location. |
| Open an existing |
Set ¶
Set | Description |
|---|---|
Properties | A collection of specific provider properties. |
Fields | Contains all Field objects in the Record object. |
Properties of the Fields collection ¶
Attribute | Description |
|---|---|
| Return the Example: countfields = rec.Fields.Count
|
| Return Example: itemfields = rec.Fields.Item(1)
或者
itemfields = rec.Fields.Item("Name")
|