Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Avoid using the Borland Database Engine

Posted on 1998-04-12
7
Medium Priority
?
339 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 40 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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 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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

688 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