Solved

connect betwen access and delphi

Posted on 2001-06-23
4
342 Views
Last Modified: 2006-11-17
please how can i connect between MS-access and execuatable progamming in delphi
thank you
0
Comment
Question by:rehabomer
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
jsweby earned 50 total points
ID: 6222953
For a solution straight out of the box, Delphi comes with a database connectivity engine called the BDE (Borland Database Engine) which allows you to connect a database to your application. Version 3 of Delphi onwards provide native MS Access support for Delphi using the BDE, the only downside is that you have to install the BDE on the user's machines or this to work. However, the special Delphi version of InstallShield Express that comes with Delphi will do all of this for you. Delphi 5 Enterprise Edition comes with an even better solution called ADOExpress.

The alternative to this is to buy a third-party component known as a BDE-replacement component that also allows you to connect databases to your program, but they are usually database-specific, whereas the BDE provides support for lots of different databases, such as Access, Paradox, DBase, etc.

For a couple of years we used a component called Titan Access for Delphi which provides the connection between an Access database and a Delphi program, without having to install the BDE or anything other database connectivity on the user's machine because it all compiles into your program. Go to www.reggatta.com and select Titan Access for Delphi for the version of Delphi that you have.

Now, we need to connect to other database types e.g. Microsoft SQL Server and so have dropped Titan Access in favour of the ODBC and use ODBCExpress (www.odbcexpress.com) which allows you connect to a variety of different databases, still all compiled into your EXE. But for ease of use, stick with Titan Access for Delphi unless you know you'll want to move to another database reasonably soon.

Hope this helps,
J.
0
 
LVL 4

Expert Comment

by:jsweby
ID: 6232197
Did this help, rehabomer? What version of Delphi and what version of MS Access are you trying to connect together. Versions of Delphi 3 onwards are OK for Access 97, I think you might need Delphi 5 (maybe 4 and a BDE update) for Access 2000 support.

J.
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7257301

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - Answered by: jsweby  
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 

Expert Comment

by:Jgould
ID: 7282247
Question has been closed as per recommendation

JGould-EE Moderator
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Change variables in SQL table 6 81
LDAP find expired users 8 69
oracle query help 18 99
Pivot not using aggregate yield error 3 41
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

932 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

8 Experts available now in Live!

Get 1:1 Help Now