Solved

Avoid using the Borland Database Engine

Posted on 1998-04-12
7
331 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
  • 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

803 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