Solved

ODBC instead of BDE

Posted on 1998-06-20
5
293 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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