Recordset Object, Recordsets Collection Summary

 

Recordset Object

A Recordset object contains these collections, methods, and properties.

Legend:

checkFeature available in both Microsoft Jet and ODBCDirect workspaces.

jetFeature available in Microsoft Jet workspaces only.

daoodbcFeature available in ODBCDirect workspaces only.

Collections

Fields (default)

Properties

 

Recordset Methods

The following table lists all of the Recordset methods, and shows which Recordset type supports each method, and whether the method is available in either a Microsoft Jet or ODBCDirect workspace, or both.

Method

Table

Dynaset

Snapshot

Forward-Only

Dynamic

AddNew

jet

check

daoodbc *

daoodbc

daoodbc

Cancel


daoodbc

daoodbc

daoodbc

daoodbc

CancelUpdate

jet

check

daoodbc *

daoodbc

daoodbc

Clone

jet

jet

jet



Close

jet

check

check

check

daoodbc

CopyQueryDef


jet

jet

jet


Delete

jet

check

daoodbc *

daoodbc

daoodbc

Edit

jet

check

daoodbc *

daoodbc

daoodbc

FillCache


jet




FindFirst


jet

jet



FindLast


jet

jet



FindNext


jet

jet



FindPrevious


jet

jet



GetRows

jet

check

check

check

daoodbc

Move

jet

check

check

Only with forward moves that don't use a bookmark offset

daoodbc

MoveFirst

jet

check

check


daoodbc

MoveLast

jet

check

check


daoodbc

MoveNext

jet

check

check

check

daoodbc

MovePrevious

jet

check

check


daoodbc

NextRecordset


daoodbc

daoodbc

daoodbc

daoodbc

OpenRecordset

jet

jet

jet



Requery


check

check

check

daoodbc

Seek

jet





Update

jet

check

daoodbc *

daoodbc

daoodbc

 

* In an ODBCDirect workspace, a snapshot-type Recordset may be updatable, depending on the ODBC driver. The AddNew, Edit, Delete, Update, and CancelUpdate methods are only available on ODBCDirect snapshot-type Recordset objects if the ODBC driver supports updatable snapshots.

Recordset Properties

The following table indicates which properties apply to each type of Recordset object and whether the property setting is read/write, read-only, or always False in either Microsoft Jet or ODBCDirect databases.

roRead-only

rwRead/write

Property

Table

Dynaset

Snapshot

Forward-Only

Dynamic

AbsolutePosition


rw

rw


rwdaoodbc

BatchCollisionCount


rodaoodbc

rodaoodbc

rodaoodbc

rodaoodbc

BatchCollisions


rodaoodbc

rodaoodbc

rodaoodbc

rodaoodbc

BatchSize


rwdaoodbc

rwdaoodbc

rwdaoodbc

rwdaoodbc

BOF

rojet

ro

ro

ro

rodaoodbc

Bookmark

rwjet

rw

rw


rwdaoodbc

Bookmarkable

rojet

ro

ro


rodaoodbc

CacheSize


rw for Microsoft Jet workspaces

rodaoodbc


rodaoodbc



ro for ODBCDirect workspaces




CacheStart


rwjet




Connection


rwdaoodbc

rwdaoodbc

rwdaoodbc

rwdaoodbc

DateCreated

rojet





EditMode

rojet

ro

ro

ro

rodaoodbc

EOF

rojet

ro

ro

ro

rodaoodbc

Filter


rwjet

rwjet

rwjet


Index

rwjet





LastModified

rojet

ro

rodaoodbc *


rodaoodbc

LastUpdated

rojet





LockEdits

rwjet

rw for Microsoft Jet workspaces

rw for Microsoft Jet workspaces


rodaoodbc



ro for ODBCDirect workspaces

ro for ODBCDirect workspaces



Name

rojet

ro

ro

ro

rodaoodbc

NoMatch

rojet

rojet

rojet



PercentPosition

rwjet

rw

rw


rwdaoodbc

RecordCount

rojet

ro

ro

ro

rodaoodbc

RecordStatus


rodaoodbc

rodaoodbc

rodaoodbc

rodaoodbc

Restartable

False jet

ro

ro

ro

rodaoodbc

Sort


rwjet

rwjet



StillExecuting


rwdaoodbc

rwdaoodbc

rwdaoodbc

rwdaoodbc

Transactions

rojet

rojet

rojet

Always False

rojet

Always False


Type

rojet

ro

ro

ro

rodaoodbc

Updatable

rojet

ro

Always False in Microsoft Jet workspaces

Always False in Microsoft Jet workspaces

rodaoodbc




ro in ODBCDirect workspaces *

ro in ODBCDirect workspaces *


UpdateOptions


rwdaoodbc

rwdaoodbc

rwdaoodbc

rwdaoodbc

ValidationRule

rojet

rojet

rojet

rojet


ValidationText

rojet

rojet

rojet

rojet


 

*In an ODBCDirect workspace, a snapshot-type Recordset may be updatable, depending on the ODBC driver. The LastModified property is available, and the Updatable property is True only on ODBCDirect snapshot-type Recordset objects if the ODBC driver supports updatable snapshots.

Recordsets Collection

A Recordsets collection appears in each Connection and Database object, and contains this method and this property.

Method

Refresh

 

Property

Count