Solved

ODBC instead of BDE

Posted on 1998-06-20
5
287 Views
Last Modified: 2013-11-23
I would like to connect to a ODBC datasource and avoid using the BDE. Is this possible?

The database driver is Microsoft Access.

Can you please explain the steps that are required to achieve this?

Thankyou.
0
Comment
Question by:infoharvest
  • 2
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
ronit051397 earned 200 total points
ID: 1354580
Step 1: Create a new ODBC Driver to your Database.

1. Enter the ODBC Administrator.
2. Click the Add... Button.
3. In the dialog box, select 'Microsoft Access Driver' and press OK.
4. In the 'Data Source Name' edit box write 'My Access'.
5. Press the 'Select...' button and choose the full path of your mdb. then Press OK.
6. Close the ODBC Administrator.

Step 2: Creating an Alias in the BDE.
1. Enter the BDE Administrator.
2. Create a new database alias, select  'Microsoft Access Driver (*.mdb)'.
3. set ODBC DSN=My Access
4. Press 'Apply' to save changes.
5. Select the new alias and open it. A login dialog will apear. Don't write any details in it, just press OK.
6. After pressing OK, If no error occured then you are succesfully connected to Access.

If you need to connect Access without creating an alias in the BDE then use the components of ODBCExpress:   http://www.odbcexpress.com/about.htm
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1354581
hello all,

 you also can find an article of Borland at there site, explaining how to do this.

c.u.
0
 

Author Comment

by:infoharvest
ID: 1354582
Running a program using the above ODBC settings works well.

Whilst trying to connect to a ODBC database running a ISAPI 'dll' (IIS4) an error occurs.

"Cannot load IDAPI service library"

DAO 3.0 was installed via Office 97.

Registry setting for DAO3032.dll is correct..

I'm out of ideas......


0
 

Author Comment

by:infoharvest
ID: 1354583
Running a program using the above ODBC settings works well.

Whilst trying to connect to a ODBC database running a ISAPI 'dll' (IIS4) an error occurs.

"Cannot load IDAPI service library"

DAO 3.0 was installed via Office 97.

Registry setting for DAO3032.dll is correct..

I'm out of ideas......


0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1354584
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
FMX StringGrid1->Canvas->FillRect Problem 3 150
select query - oracle 16 100
How to load 2 images in same column in Delphi 2 45
How to Get Images From Server using App Tethering 11 21
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question