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


Please Help Members By Posting Answers For Below Questions

____ property of menu cannot be set at run time.

1157


What are the uses of List View Control?

1552


How do I get the Tab key to be treated like a normal character?

996


What are the properties of datacontrol?

1518


Explain Types of DBCombo boxes?

592






what are the Parts of ODBC?

1407


VB ActiveX: Create a "drivelist"(D1) box, a "folderlistbox"(FLD1) that changes whenever D1 is changed , and a "FilelistBox"(FIL1) that is populated with the file lists under the selected directory in (D1).The file selected is stored in a variable "filename" along with the path. Question: How to use this activeX control in VC++ to get the selected filename?

1518


What is dao in vba?

538


How would you add elements in TreevieW Control.

1511


Is visual basic still used?

506


How do I get the number of free bytes on a disk?

1199


Is visual basic c#?

500


What is the difference between c++ and visual basic?

492


What is the use of ActiveX Documents?

1929


How can you determine performance standards?

623