Solved

Delphi 7 connection with databases

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

749 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