Solved

Ms Access

Posted on 2002-07-05
6
217 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
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

757 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

13 Experts available now in Live!

Get 1:1 Help Now