Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. handling databases in MFC

handling databases in MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasetutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    AOA do any1 tell me how to deal with databases by using MFC as front end & microsoft access as back end......i.e how we can retrieve documents from database if document path is given in field of table.........kindly answer this........i have to do this urgent......plz plz plz... thanks

    J M A 3 Replies Last reply
    0
    • A Anonymous

      AOA do any1 tell me how to deal with databases by using MFC as front end & microsoft access as back end......i.e how we can retrieve documents from database if document path is given in field of table.........kindly answer this........i have to do this urgent......plz plz plz... thanks

      J Offline
      J Offline
      JHAKAS
      wrote on last edited by
      #2

      Hi derive class from Crecordset using class wizard. (Ctrl+W) In process it will ask you database path and table name. Give the table name and then it will show all the attributes from table as its members list. assign name to member Implement or use Database open and close calls Better to start is some of the tutorials from either codeguru or codeproject Hope this will help Remember Ms-Access - database limit -- 2GB Best of luck Leave your mark wherever you go

      1 Reply Last reply
      0
      • A Anonymous

        AOA do any1 tell me how to deal with databases by using MFC as front end & microsoft access as back end......i.e how we can retrieve documents from database if document path is given in field of table.........kindly answer this........i have to do this urgent......plz plz plz... thanks

        M Offline
        M Offline
        Michael P Butler
        wrote on last edited by
        #3

        You'll probably get more replies, if you asked specific technical questions. Your message is very vague. However there are a few methods for accessing MS Access from MFC. Personally I prefer using ADO rather than the MFC classes Database/Recordset classes. Plenty of examples here[^] Michael CP Blog [^]

        1 Reply Last reply
        0
        • A Anonymous

          AOA do any1 tell me how to deal with databases by using MFC as front end & microsoft access as back end......i.e how we can retrieve documents from database if document path is given in field of table.........kindly answer this........i have to do this urgent......plz plz plz... thanks

          A Offline
          A Offline
          Anders Gustafsson
          wrote on last edited by
          #4

          Get a copy of Mike Blazcaks excellent book on MFC. It has some very nice samples. BTW the VC IDE can create a skeleton app for you quite easily.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups