What is the difference between a Dynaset and Snapshot and
how would you create one?
Answer Posted / suresh
A dynaset-type Recordset object is a dynamic set of records
that can contain fields from one or more tables or queries
in a database and may be updatable. In an ODBCDirect
database, a dynaset-type Recordset object corresponds to an
ODBC keyset cursor.
Remarks
A dynaset-type Recordset object is a type of Recordset
object you can use to manipulate data in an underlying
database table or tables.
It differs from a snapshot-type Recordset object because
the dynaset stores only the primary key for each record,
instead of actual data. As a result, a dynaset is updated
with changes made to the source data, while the snapshot is
not. Like the table-type Recordset object, a dynaset
retrieves the full record only when it's needed for editing
or display purposes.
A snapshot-type Recordset object is a static set of records
that you can use to examine data in an underlying table or
tables. In an ODBCDirect database, a snapshot-type
Recordset object corresponds to a static cursor.
Remarks
To create a snapshot-type Recordset object, use the
OpenRecordset method on an open database, on another
dynaset- or snapshot-type Recordset object, or on a
QueryDef object.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
what are the Types of cursors in RDO?
What are the Internet tools available in VB6.0?
Where can I get updated VB and other Microsoft files?
___,___ arguments will be used to run a executable program in shell function
How would you convert a form into document?
How can I access a record by record number?
What are the important components of OLEDB?
Types of ActiveX Components in VB?
1s it posible to Create Tables Through Querydef?
What is the use of Active Control Property?
Which method is preferred to save data like database to the disk?
When/Why should I use Option Explicit?
It possible to call OLEDB?s Features directly in VB without using any control?
what are the Parts of ODBC?
what are the Types of DBCombo boxes?