🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #7

Re: ADOConnection, ADOTable, ADOQuery Basics

#7
From: Clayton Arends
Date: Thu, 21 Feb 2008 20:56
40 lines
3454 bytes
"Sudesh" <sudeshc@vfemail.net> wrote in message 
news:47bdc08c@newsgroups.borland.com...

>> You may need to download and install some ADO (OLE DB) drivers for the PC 
>> depending on what DBMS you are attempting to connect to.
>
> Could you please elaborate this more? (I have earlier used Paradox which 
> is > i think obsolete now??)
>
> What all DBMS can be used and corresponding requirements at the end user.

ADO uses the OLEDB drivers that have been installed on a system to access a 
DBMS.  All Windows installations have some pre-installed drivers.  Jet 
(Access) for example comes standard.  There are also some stock Microsoft 
drivers to access ODBC datasources, MS SQLServer, and a poor Oracle driver 
implementation (it's there, but don't use it).

If you want to access an Oracle database you will need to download Oracle's 
OLEDB driver and install it on the system.  There are similar drivers for 
other DBMS like FoxPro, and many others.  I believe there is no Paradox 
native OLEDB driver.  To access Paradox you will need to install the ODBC 
driver and use the stock "Microsoft OLE DB Provider for ODBC Drivers" 
option.

ODBC was the precursor to ADO.  It was the first attempt to allow Windows 
applications to access any database from a common architecture.  Chances are 
if the database you are connecting to is really old then it will have an 
ODBC driver and therefore can be used via ADO through the above mentioned 
OLEDB driver.

Your end-users will need to install whatever drivers they need to access the 
databases that your programs will connect to.  If you design your program to 
connect to any DBMS then you can leave it up to them to download the 
appropriate OLEDB drivers.  They will just need to be able to configure 
their connection(s) in your app.  If you only work with one or two DBMS then 
you can provide a link for your users to grab the latest OLEDB drivers or 
install them as part of your product's installation.  As I said before 
though, I shy away from installing drivers for my users.

Clayton 
Technical Details
Message-ID: <47bde596$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feeder5.cambrium.nl!feed.tweaknews.nl!68.142.88.75.MISMATCH!hwmnpeer01.ams!news.highwinds-media.com!news.astraweb.com!newsrouter-eu.astraweb.com!newsfeed2.ip.tiscali.net!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47b97333@newsgroups.borland.com> <47bda663$1@newsgroups.borland.com> <47bdc08c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,a49b6386b1d150d4
X-Google-Attributes: gid10698b,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Clayton Arends" <nospam_claytonarends@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <47b97333@newsgroups.borland.com> <47bda663$1@newsgroups.borland.com> <47bdc08c@newsgroups.borland.com>
In-Reply-To: <47bdc08c@newsgroups.borland.com>
Subject: Re: ADOConnection, ADOTable, ADOQuery Basics
Date: Thu, 21 Feb 2008 12:56:44 -0800
Lines: 41
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: 68.185.45.89
Message-ID: <47bde596$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1203627414 68.185.45.89 (21 Feb 2008 12:56:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feeder5.cambrium.nl!feed.tweaknews.nl!68.142.88.75.MISMATCH!hwmnpeer01.ams!news.highwinds-media.com!news.astraweb.com!newsrouter-eu.astraweb.com!newsfeed2.ip.tiscali.net!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail