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
How many File System Controls are there Explain?
Where can I get updated VB and other Microsoft files?
Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?
What is the use of ActiveX Documents?
What is the difference between change event in normal combobox and dbcombobox?
i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI).
To find the current recordposition in data control.
How would you attach pictures in column headers of List View Control?
When/Why should I use Option Explicit?
Which method is preferred to save data like database to the disk?
What is the use of Immediate, Local Window?
Explain about Caturing Baseline.
How do you create a form in visual basic?
Explain the types of Views in Listview Control?
How can I create a VBX?