Database
  Home arrow Database arrow Opening a Record Object Referencing an Ope...
Iron Speed
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  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 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? 
DATABASE

Opening a Record Object Referencing an Open Recordset Object
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2006-09-12

    Table of Contents:
  • Opening a Record Object Referencing an Open Recordset Object
  • Opening a Recordset by Providing an URL
  • Opening the Record Object after Opening the Recordset Object
  • RecordType and Mode Properties

  • 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
     
     
    Iron Speed
     
    ADVERTISEMENT

    Application developers can seamlessly integrate the Advantage Database install with their application install. Learn the best practices used when setting up silent installs with this seminar.

    Opening a Record Object Referencing an Open Recordset Object
    (Page 1 of 4 )

    As the title suggests, this tutorial explains how to open a record object with the help of previously open recordset object. In ADO, the two are closely related. Keep reading to learn more.

    Introduction

    In the previous tutorial, Using ADO’s Record Object With URLs, it was shown in considerable detail how a record object may be leveraged to access files and folders on a web site. This tutorial shows how a record object may be opened by referencing an already open recordset object. As you may see in the following picture, the record and recordset objects are interrelated in the ADO Model.

    Opening a record object

    In order to use the record and recordset objects you need the OLEDB providers. In fact, since the Record object has to use an already open recordset object, the Recordset object has to be opened first. The record object represents a single row in the open recordset object. The record object's strength is its ability to navigate hierarchical structures of file and folders, while the recordset must use an OLE DB provider suitable for this purpose.

    The most appropriate OLEDB provider is the OLEDB Provider for Internet Publishing (MSDAIPP). MSDAIPP stands for Microsoft Data Access Component Internet Publishing Provider. The file location is C: Program Files Common Files System OleDB. If you have Microsoft Office 2000 and above, or your operating system is Windows 2000 or Office XP Professional, you should have the file in your system as shown here.

    The MSDAIPP can access folders and files on web servers if the following items are supported:

    • FrontPage Server Extensions
    • Web Extender Client
    • Web Distributed Authoring and Versioning
      (WebDAV or HTTP-DAV) protocol extension for HTTP

    In order to use the above provider, you need to provide a valid URL address for the file you want to open. Here we will be using some intranet (local web server) virtual folders as shown in the following pictures.

    This picture shows the virtual site that is used in opening the recordset.

    More Database Articles
    More By Jayaram Krishnaswamy


       · Microsoft's first foray into accessing non-traditional data storage area resulted in...
     

    DATABASE ARTICLES

    - Database Programming in C# with MySQL : Usin...
    - Formatting Techniques for Data Access from E...
    - Data Access from Excel VBA
    - Generating a Multiple Table Crystal Report u...
    - ADO and the Command Object
    - On Wiring Up an ADO Data Control
    - Reading and Writing to Files on the Intranet
    - Using ADO Record to Create and Navigate Intr...
    - Using Data Access Pages to Access Data on a ...
    - Using ADO with the SQL Native Client
    - ADO`s Stream Object
    - Opening a Record Object Referencing an Open ...
    - Introducing Jasper (SQL Anywhere 10 Beta)
    - Creating a Database Project in VS 2005
    - Manipulating ADO Recordsets




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway