Menu

Database connection

2002-09-25
2012-09-26
  • Nobody/Anonymous

    Hi, I want to connect to a MSAccess database and I don't know how.  I know how to do it with C++Builder but not with DEV-C++.  Does somebody would like to show me an example of code for that with an sql statement. 

    Thank you.

     
    • Nobody/Anonymous

      is there any easy tutorial for that?

       
    • Nobody/Anonymous

      There's many useful things that can be found on www.planetsourcecode.com or www.programmersheaven.com and there is help about database connection.  But the code work with C++Builder and not on Dev-C++.  That's why I need some help from Dev-C++ developers.

      Thank you in advance.

       
    • Nobody/Anonymous

      There's many useful things that can be found on www.planetsourcecode.com or www.programmersheaven.com and there is help about database connection.  But the code work with C++Builder and not on Dev-C++.  That's why I need some help from Dev-C++ developers.

      Thank you in advance.

       
    • Nobody/Anonymous

      I would go for an ODBC connection, your examples might be for DAO.
      For Access-ODBC examples see:
      http://www.john.findlay1.btinternet.co.uk/
      It's for LCC, should work with gcc,
      http://blakjak.port5.com/downloads/odbcwrap.htm
      for gcc by BlakJak. Includes Access example.

      As for myself I did some ODBC stuff some time ago, but it was for Oracle. Should be the same for Access.

      rpeter

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.