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

CdataGrid

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 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
    sdfdsfa
    wrote on last edited by
    #1

    When I make any changes in a cell, it only saves the change when I push enter otherwise, change doesn't apply to mdb. What I want to do is to save this change whenever user input a value. how can i acheve this? Regards, Shin

    B 1 Reply Last reply
    0
    • S sdfdsfa

      When I make any changes in a cell, it only saves the change when I push enter otherwise, change doesn't apply to mdb. What I want to do is to save this change whenever user input a value. how can i acheve this? Regards, Shin

      B Offline
      B Offline
      bilas
      wrote on last edited by
      #2

      Simply, use the method of your class (recordset) like SetRecordsetValue or other(depends on the class you use). The most important mistake - you use class DataGrid to set changes, but it is incorrect. You must use directly class Recordset-based.

      S 1 Reply Last reply
      0
      • B bilas

        Simply, use the method of your class (recordset) like SetRecordsetValue or other(depends on the class you use). The most important mistake - you use class DataGrid to set changes, but it is incorrect. You must use directly class Recordset-based.

        S Offline
        S Offline
        sdfdsfa
        wrote on last edited by
        #3

        Yes, I just want to get the event where I can save the record. Sorry to make you confused. Regards, Shin

        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