Skip to main content

Problem:

This program demonstrates how to use Microsoft ADO (ActiveX DataObjects).

Resolution:

INTRODUCTION

==========

This program demonstrates how to use Microsoft ADO (ActiveX DataObjects).

SOURCE FILES

=========

Program Files             Description

--------------------     -----------------------------------------------

ne3ado.cbl

REQUIREMENTS

==========

The source of the data is a Microsoft Access Database  file sample.mdb located in your NetExpress\\base\\demo\\Smpldata\\ Access directory. There should also be a DSN entry viewable in the ODBC Data Source Administrator

for "NetExpress Sample2".  

This program is set up to use ADO Recordset Objects  as specified in the class-control paragraph. You can look for the entry ADODB.Recordset in the Windows system registry(using regedit.exe) within HKEY_CLASSES_ROOT.

You may change the class-control entry to a specific version if it exists on your machine (ie. AD0DB.Recordset.2.1).

OPERATION

========

Rebuild the project and Animate.

Data contained in the Customer table of the sample.mdb database will be written to the text file "customers.txt".

NOTES

====

This program was written for ADO version 2.0...it may not run with a prior version.

==========================================================

Keywords: Example, sample, demo, demonstration

demo.ex

demo.ne

Attachments:

adodemo.zip

Old KB# 3976