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 the difference between c++ and visual basic?
How would you create Visual basic Document file?
Can you tell me the properties of the controls?
What is shortcut menu and explain "The ole control's shortcut menu".
How can you save and Get data from Clipboard/ Recordset object consists what?
Explain the "cursortype" and "Locktype" in VB?
Is visualvm free?
What is the Windows API?
What are the uses of List View Control?
What is OLEDB?
How do I get my application on top?
How would you Create a Query Builder and Explain its uses
How do you change the system menu (on the Control-Menu Box)?
Can any one please suggest which institute is providing Advance Excel & VBA Macros in Excel training in Hyderabad.
What is the use of command Object?What are the various types of variables?