Solved

Ms Access

Posted on 2002-07-05
6
222 Views
Last Modified: 2010-04-01
Does anyone know how I can use an MS Access-database while using Borland C++ Builder 6.0?

Please help me!Thanks!
0
Comment
Question by:leenvanhaecke
[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
6 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 7131684
C++ Builder certainly supports ODBC and probably ADODB interfaces.  

I also suspect there are some DB specific class libraries included that wrap these, similar to Microsoft MFC's CDatabase and CDaoDatabase classes.
0
 

Author Comment

by:leenvanhaecke
ID: 7131698
Can you tell me a bit more specific how I can do it with ADO?
0
 
LVL 32

Expert Comment

by:jhance
ID: 7131723
I'm not that familiar with C++ Builder.  I'm sure there is a class for DB access.  Have you looked at your product documentation?

http://community.borland.com/article/0,1410,10098,00.html
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Accepted Solution

by:
Boomers earned 20 total points
ID: 7144416
You will need to use the BDE Administrator or create a DSN that will connect to your DB.

If you're using a DSN to connect to your DB then use the ODBC DataSource under control panel.

If you wish to use the native drivers from Borland you will need to change the native drivers dll based on your Access version.

I used both method and then are both working fine. You might found the BDE Administrative way faster retrieve data from the database.

Good luck!
0
 
LVL 11

Expert Comment

by:griessh
ID: 7353444
Dear leenvanhaecke

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "Boomers"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7419754
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

717 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