Solved

ODBC instead of BDE

Posted on 1998-06-20
5
283 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now