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. Update MS Access DB from VC(ADO)

Update MS Access DB from VC(ADO)

Scheduled Pinned Locked Moved C / C++ / MFC
databasehelpquestionannouncement
2 Posts 2 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.
  • S Offline
    S Offline
    shuchigo_jane
    wrote on last edited by
    #1

    How would i update an acces db from VC6,if the connectivity is done using ADO? Do i use an update query separately,or do i open the DB and then make changes? Detalied help would be really appreciated...thanks!

    K 1 Reply Last reply
    0
    • S shuchigo_jane

      How would i update an acces db from VC6,if the connectivity is done using ADO? Do i use an update query separately,or do i open the DB and then make changes? Detalied help would be really appreciated...thanks!

      K Offline
      K Offline
      kiran janaswamy
      wrote on last edited by
      #2

      hi, using the RecordSet Pointer of the ADO, and Call Open(...) method of the RecordSet. In the Open Metod of the RecordSet pass the String for the Update of the Command. like //========================================================== Connection.Open("\\....mdb"); RecordSet rs; rs.Open("Update table table name where value = " &value); rs.Close(...); //========================================================== cool. uday. uday kiran

      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