Solved

Delphi 7 connection with databases

Posted on 2003-11-06
2
518 Views
Last Modified: 2010-04-05
What should I do to connect Delphi 7 with MS Access 2000 database?
Is there any product or ODBC and where I can find it?
When I installed Delphi7 in my computer, the instalation program only proposed to install a driver connection with Access 97.
Is there a database included with Delphi that doesn't need a driver, I mean like VB with Access?
I've been trying with Paradox, but when I run my program in another computer Delphi ask for a driver too.
0
Comment
Question by:kmocampo
2 Comments
 
LVL 2

Assisted Solution

by:Ray_Adams
Ray_Adams earned 100 total points
ID: 9696404
Use ADOConnection, then build connection stirng to use Jet Database 4.0 or 3.2 and point to your database file. Thats all you need to connect.
Then you can use ADOQuery to access data.
0
 
LVL 1

Accepted Solution

by:
abunectar earned 100 total points
ID: 9699061
hi,
what operating system do use.if windows, then defaultly ado components are installed in the system.so no need to worry about installation.if u use windows then in delphi component pannel u will find ado tab.inside that u will find ado components like ado connection,ado table,ado query etc.choose adoconnection, ado table and data source from data acess.then go to object browser which u will find in project menu and click ado connection.in object browser u will find the properties of ado connection as in vb.in adoconnection properties click connection string in object browser.u will find udl.in that choose the provider for ms acess ie oleddb 4.0.click next.then choose the mdb file u want in that u will be connected.still if u have doubt give ur mail id. i will send the sample codes
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

760 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

19 Experts available now in Live!

Get 1:1 Help Now