?
Solved

Delphi 7 connection with databases

Posted on 2003-11-06
2
Medium Priority
?
535 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
[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 Comments
 
LVL 2

Assisted Solution

by:Ray_Adams
Ray_Adams earned 400 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 400 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

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.

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…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

752 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