Microsoft Access
  Home arrow Microsoft Access arrow Cursors in MS Access and ADO
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MICROSOFT ACCESS

Cursors in MS Access and ADO
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 10
    2006-05-03

    Table of Contents:
  • Cursors in MS Access and ADO
  • ADO Cursors
  • The Recordset's RecordCount, AbsolutePosition, BOF and EOF properties
  • CursorType changed to adOpenForwardOnly

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Cursors in MS Access and ADO


    (Page 1 of 4 )

    In multi-user, multi-tier distributed application scenarios where one has to provide the most current data possible, keeping the network traffic low can be challenging. The idea of using cursors becomes very appealing by offering different ways of showing the data. This tutorial, the third in a series covering MS Access and ADO, looks at cursors.

    Introduction

    This tutorial looks at the cursors, elements that allow the viewing of data in specialized ways. Cursors define the functionality of a specific recordset. ADO reaches out to the data through OleDB object -- the recordset, to get the data stored in a data structure called the cursor. The ADO Cursor engine sits between ADO and the OleDB.

    Different cursors endow different functionalities to the recordset. Some cursors allow you to see data in real time (data changes as they are being made when you are working with the recordset), some allow only a "snapshot" of the data existing at a particular point in time. Also while some may allow you to move through the data up and down (or left and right), some others lets you do so only in the forward direction. In ADO there are four types of cursors. This tutorial shows how the four cursors define the functionality of the recordset when Recordset's cursor property is predefined.

    This tutorial assumes that the reader has reviewed the first two tutorials on ADO's Connection object and the Recordset object which have appeared on the ASPFree.com site. Only a few of the properties of the recordset object were described. In the present tutorial you will see that a knowledge of cursors is essential to understanding the properties related to navigation in the data, the updatability of data and other issues. Complete examples will be given that may function as a ready reference for understanding the cursors. Although only one of the cursor types (adOpenStatic) is described using coding in detail, future tutorials will describe the others in similar detail.

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · The tutorial is written targeting the beginner and so the discussion is at its very...
       · These are excellent articles and I am enjoying reading them. We all have to start...
     

    MICROSOFT ACCESS ARTICLES

    - Converting a MySQL Database to an Excel Work...
    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    Stay green...Green IT