Solved

Delphi 7 connection with databases

Posted on 2003-11-06
2
521 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

21 Experts available now in Live!

Get 1:1 Help Now