Solved

Avoid using the Borland Database Engine

Posted on 1998-04-12
7
336 Views
Last Modified: 2010-04-06
How can I access a database without using the BDBE ?

Or can I pack it to the exe (etc) ?
0
Comment
Question by:Raptor062197
[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
  • 2
  • +1
7 Comments
 
LVL 3

Expert Comment

by:KE
ID: 1361473
You can not access databases without the BDE - unless you want to spend the next few years into programming your own interface. I'll suggest that you read the distribution license, that tells which DLL is necessary to implement for the BDE to work.
You can then place these DLL's in your application directory, but i recommend that you use the installer provided with Delphi.

If your application is small in size, and doesn't relly heavliy on the database function, you could choose to implement your database functions in a standard binarry format. The read the files into memory and process your data in this way.

0
 

Author Comment

by:Raptor062197
ID: 1361474
Which files do I need to pack into the directory ? (Sorry, I am totally new to delphi)
0
 
LVL 3

Expert Comment

by:KE
ID: 1361475
Which version of Delphi are you using ?

If you look in your Delphi installation directory, there is a textfile named deploy.txt - this describes which DLL's are needed for each driver.

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 2

Expert Comment

by:mvz121697
ID: 1361476
Depending on the database you use, you can easily go without the BDE.
I use 'Apollo' for Delphi-applications which access Clipper and
Foxpro files (DBF/CDX).
I use 'Opus Direct Access' for accessing MS-Access files.

With both products (2 extra DLL's) , you can create a one-disk installation of your application (with BDE, you need at least 3)

Greetings,
MvZ

0
 

Author Comment

by:Raptor062197
ID: 1361477
mvz : Where can I get those drivers ?
0
 
LVL 4

Accepted Solution

by:
BoRiS earned 20 total points
ID: 1361478
You can connect using a ODBC Driver

1. First start the BDE Administrator from the Windows Start Menu
(it will be in the Delphi 3.0 folder.)

2. Now select Object|ODBC administrator from the main menu.
(this will bring up a list of currently installed drivers.)

3. Choose Add and then select the ODBC driver you would like to create
a data source for, then click on OK.

4. Next fill in the appropriate information for your driver.
(A minimal configuration will require the  Data Source Name field.
You will also need to fill in at least one other field that is a
location specifier for the data. This could be a path in the case of
Paradox or dBase tables or the Server field in the case of configuring
an Interbase ODBC driver.  Some non-exhaustive examples include; if

you are using Interbase you would select a path to a .GDB file, if
using Paradox or dBASE files you would specify the data directory
containing your tables or if you were using Oracle you would specify
the entry as it appears in your TNSNAMES.ORA file.  Once this is done
you have created a virtual driver and will be able to access your
database files through the datasource your created.)


0
 
LVL 2

Expert Comment

by:mvz121697
ID: 1361479
www.luxent.com for Apollo
www.opus.ch for Opus

Greetings,
MvZ
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month9 days, 12 hours left to enroll

623 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