What is the difference between a Dynaset and Snapshot and
how would you create one?
Answer Posted / george
All Recordset objects are constructed using records (rows)
and fields (columns). There are five types of Recordset
objects:
Table-type Recordset ::
********************
representation in code of a base table that you can use to
add, change,or delete records from a single database table
(Microsoft Jet workspaces only).
Dynaset-type Recordset ::
**********************
the result of a query that can have updatable records. A
dynaset-type Recordset object is a dynamic set of records
that you can use to add, change, or delete records from an
underlying database table or tables.
A dynaset-type Recordset object can contain fields from one
or more tables in a database. This type corresponds to an
ODBC keyset cursor.
Snapshot-type Recordset ::
**********************
a static copy of a set of records that you can use to find
data or generate reports. A snapshot-type Recordset object
can contain fields from one or more tables in a database
but can't be updated. This type corresponds to an ODBC
static cursor.
Forward-only-type Recordset::
***************************
identical to a snapshot except that no cursor is provided.
You can only scroll forward through records. This improves
performance in situations where you only need to make a
single pass through a result set. This type corresponds to
an ODBC forward-only cursor.
Dynamic-type Recordset ::
**********************
a query result set from one or more base tables in which
you can add,change, or delete records from a row-returning
query. Further, records other users add, delete, or edit in
the base tables also appear in your Recordset. This type
corresponds to an ODBC dynamic cursor (ODBCDirect
workspaces only).
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is instantiating?
What are forms in visual basic?
What is instantiating?
Is visual basic easy?
Difference between Dynaset and Snapshot?
Write the Steps in Creating an ActiveX Control?
What is executenonquery in vb net?
Explain OLE Drag and Drop.
What is data binding in vb net?
What is meant by Establish Connection in RDO?
Explain about declaring variables in Visual basic?
How do I get a bitmap picture in a field in an Access database?
Specify technical & functional architecture of your last 2 projects.
How many objects resides in ADO ?
What is the use of Tabledef?