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...

10 Years
Discussion Span
Last Post by Ancient Dragon
Featured Replies
  • [QUOTE=proghelper123;1665222]The following link might help you: [URL="http://reydacoco.blogspot.com/2011/10/linking-to-ms-access-data-source-using.html"]http://reydacoco.blogspot.com/2011/10/linking-to-ms-access-data-source-using.html[/URL][/QUOTE] Not likely, after 3 years Read More


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.



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


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.

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.