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. What's up with CRecordset?

What's up with CRecordset?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestionannouncement
1 Posts 1 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.
  • L Offline
    L Offline
    Loren Brewer
    wrote on last edited by
    #1

    Does anybody know what happened to the GetFieldValue() method of the CRecordset class in MFC version 7? In version 6, the method had 4 overloaded versions, one of which was: void GetFieldValue( LPCTSTR lpszName, CString& strValue ); In version 7, the method still has 4 overloaded versions, but now the one stated above is missing, and seems to have been replaced with the following two: void GetFieldValue( short nIndex, CStringA& strValue ); void GetFieldValue( short nIndex, CStringW& strValue ); The problem is that we have a bunch of code that uses the version that was only shipped in version 6, and hence the code does not compile in version 7 (without a bunch of tedious tweaking). Was this an oversight by MS? Or did they have a reason for removing this particular version of the method? Thanks in advance to all who have input ;) -- Loren Brewer

    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