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
How would you create properties in ActiveX Control?
Explain Types of DBCombo boxes?
What are the uses of List View Control?
____ property is used to lock a textbox to enter a datas.
What is meant by Establish Connection in RDO?
What is the use of Visual Basic Document file?
How many objects resides in ADO ?
What is the use of Hyperlink control for DHTML applications?
How to get freefile location in memory?
How to load and unload child forms.
What is the difference between Msgbox Statement and MsgboxQ function?
Explain about form creation in Visual Basic?
It possible to call OLEDB?s Features directly in VB without using any control?
Give brief description about class?
How do I add a form in visual basic?