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. STRANGE!!!!!!!!!!

STRANGE!!!!!!!!!!

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++database
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.
  • V Offline
    V Offline
    vcseeker
    wrote on last edited by
    #1

    hi, i have a program written that reads a flat text tab separated file using ODBC ,the database contains various number and text columns.Using VC++ classwizard, i created my CRecordset derived class and the type of member-variables corresponding to the text columns is CString .My problem is that i am able to connect and open the database and fetch all the records i want by fetching the recordsets in loop, but i couldn't read all but first text columns and when i try to read them ,it gives exception.All other columns of type number are read correctly for all records.Surprisingly the first text column field is also read correctly but the subsequent fields are not. While debugging ,when i see the value of these string member-variables of the recordset ,it says CXX0033:ERROR: error in OMF type information. Can anybody give some suggestions.

    V 1 Reply Last reply
    0
    • V vcseeker

      hi, i have a program written that reads a flat text tab separated file using ODBC ,the database contains various number and text columns.Using VC++ classwizard, i created my CRecordset derived class and the type of member-variables corresponding to the text columns is CString .My problem is that i am able to connect and open the database and fetch all the records i want by fetching the recordsets in loop, but i couldn't read all but first text columns and when i try to read them ,it gives exception.All other columns of type number are read correctly for all records.Surprisingly the first text column field is also read correctly but the subsequent fields are not. While debugging ,when i see the value of these string member-variables of the recordset ,it says CXX0033:ERROR: error in OMF type information. Can anybody give some suggestions.

      V Offline
      V Offline
      vcseeker
      wrote on last edited by
      #2

      Anyone?????????

      R 1 Reply Last reply
      0
      • V vcseeker

        Anyone?????????

        R Offline
        R Offline
        Rage
        wrote on last edited by
        #3

        Simply wait. Be sure that if someone has a solution, it will post it here. But do not be too insistant, this usually is the best way to get no answer. ;) ~RaGE();

        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