944,214 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 18489
  • C++ RSS
Jan 14th, 2007
0

Connecting C++ to MS-Access

Expand Post »
hello friends,
I am doing a bank management system project where I have to conect a database done in MS Access(.mdb extension) to the C++ code...I ve never learnt much about databases and this is the first time I m using Access...so I d be grateful if anyone could explain me to connect Access and C++ ...in detail
Any help would be appreciated...
Thanks
Similar Threads
Reputation Points: 22
Solved Threads: 0
Newbie Poster
sugantha is offline Offline
17 posts
since Sep 2006
Jan 14th, 2007
0

Re: Connecting C++ to MS-Access

In order to use MS Access or any other SQL database you need to learn the SQL language -- or at least have a basic understanding of it. There are several free c++ ODBC classes and here that will simplify connecting to the database, quering and receiving the resultsets. You can also do database inserts and updates.

Most, if not all, the c++ classes contain example programs.
Last edited by Ancient Dragon; Jan 14th, 2007 at 8:44 am.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,966 posts
since Aug 2005
Sep 4th, 2008
0

Re: Connecting C++ to MS-Access

Hello,

We recently published a technical article with code samples on MSDN which shows how you can use Visual Studio C/C++ to work with Access 2007 databases, talks about new ACE engine and file formats that Access supports and much more.

Link: http://msdn.microsoft.com/en-us/library/cc811599.aspx

----------------------
Aleksandar Jaksic
Software Engineer
Microsoft Access Team

http://office.microsoft.com/access/
http://blogs.msdn.com/access/

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
AlekJ is offline Offline
1 posts
since Sep 2008
Oct 11th, 2011
-1
Re: Connecting C++ to MS-Access
The following link might help you:

http://reydacoco.blogspot.com/2011/1...rce-using.html
Reputation Points: 10
Solved Threads: 0
Newbie Poster
proghelper123 is offline Offline
1 posts
since Oct 2011
Oct 11th, 2011
0
Re: Connecting C++ to MS-Access
Not likely, after 3 years
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,966 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: VC6 - Deletion of Pointer before exiting program?
Next Thread in C++ Forum Timeline: Sum an array of number inputted by user





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC