What type of recordsets are available in ADO?

Answer Posted / m.r.nataraajhan

You use Recordset objects to manipulate data from a
provider. When you use ADO, you manipulate data almost
entirely using Recordset objects. All Recordset objects
consist of records (rows) and fields (columns). Depending
on the functionality supported by the provider, some
Recordset methods or properties may not be available.

ADODB.Recordset is the ProgID that should be used to create
a Recordset object. Existing applications that reference
the outdated ADOR.Recordset ProgID will continue to work
without recompiling, but new development should reference
ADODB.Recordset.

There are four different cursor types defined in ADO:

Dynamic cursor Allows you to view additions, changes,
and deletions by other users; allows all types of movement
through the Recordset that doesn't rely on bookmarks; and
allows bookmarks if the provider supports them.

Keyset cursor Behaves like a dynamic cursor, except
that it prevents you from seeing records that other users
add, and prevents access to records that other users
delete. Data changes by other users will still be visible.
It always supports bookmarks and therefore allows all types
of movement through the Recordset.

Static cursor Provides a static copy of a set of
records for you to use to find data or generate reports;
always allows bookmarks and therefore allows all types of
movement through the Recordset. Additions, changes, or
deletions by other users will not be visible. This is the
only type of cursor allowed when you open a client-side
Recordset object.

Forward-only cursor Allows you to only scroll forward
through the Recordset. Additions, changes, or deletions by
other users will not be visible. This improves performance
in situations where you need to make only a single pass
through a Recordset.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

___ property used to add a menus at runtime.

1239


How can you Navigate from the DHTML application to another DHTML application? .

1634


Explain the usage of Web Browser Control?

1630


What is dao in vba?

553


how to use telugu language in vb6? any unicode data is available for telugu or not?yes means how to use? my desired output is telugu only? i am doing project like(telugu calendar),my output should be print in telugu only? pls send me the solution with code?

3008






OLE is used for _______

1102


How would you Create a Query Builder and Explain its uses ?

1623


How would you use ActiveX Dll and ActiveX Exe in your application?

1618


Through which protocol OLEDB components are interfaced?

1539


How do I make my applications screen-resolution independent?

1025


What are the properties of datacontrol?

1529


___ is a property to resize a label control according to your caption.

1102


___ property is used to change to ___ value to access a identity column'in datacontrols.

1054


How would you add elements and pictures to listitems in listview control?

1539


Draw Sequence Modal of DAO? Explain.

1707