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. how to use oracle tables using VC++?

how to use oracle tables using VC++?

Scheduled Pinned Locked Moved C / C++ / MFC
c++oracletutorialquestion
6 Posts 3 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.
  • M Offline
    M Offline
    megha_gharote
    wrote on last edited by
    #1

    Megha

    N 1 Reply Last reply
    0
    • M megha_gharote

      Megha

      N Offline
      N Offline
      Nitheesh George
      wrote on last edited by
      #2

      Tell us what u want to do?

      M 1 Reply Last reply
      0
      • N Nitheesh George

        Tell us what u want to do?

        M Offline
        M Offline
        megha_gharote
        wrote on last edited by
        #3

        I have one table in an Oracle Db.. I want to access that DB in my application so for that i want to create one class. When i m trying to creat enew class using CDaorecordset as base class. I m not getting Table name to select under "SELECT DATABASE TABLE" dialogue. Did u get me?? Could you please help me now? megha

        A 1 Reply Last reply
        0
        • M megha_gharote

          I have one table in an Oracle Db.. I want to access that DB in my application so for that i want to create one class. When i m trying to creat enew class using CDaorecordset as base class. I m not getting Table name to select under "SELECT DATABASE TABLE" dialogue. Did u get me?? Could you please help me now? megha

          A Offline
          A Offline
          Amrit Alok
          wrote on last edited by
          #4

          Hi megha, Did you to first create the DSN for that Recordset??? And after that you may use RFX and DDX for exchanging data.

          M 1 Reply Last reply
          0
          • A Amrit Alok

            Hi megha, Did you to first create the DSN for that Recordset??? And after that you may use RFX and DDX for exchanging data.

            M Offline
            M Offline
            megha_gharote
            wrote on last edited by
            #5

            Hi alok, I have created DSN Name. On class view when i clicked on new class and selected CRecordset (as baseclass) -> selected ODBC -> and in List box DSN which i have created -> after entering pasword clicked on OK -> then it should display list of tables for which i need to make a class but it not showing that table at all...

            A 1 Reply Last reply
            0
            • M megha_gharote

              Hi alok, I have created DSN Name. On class view when i clicked on new class and selected CRecordset (as baseclass) -> selected ODBC -> and in List box DSN which i have created -> after entering pasword clicked on OK -> then it should display list of tables for which i need to make a class but it not showing that table at all...

              A Offline
              A Offline
              Amrit Alok
              wrote on last edited by
              #6

              Hi megha, First we will have to see whether you have successfully established the connection with your Oracle. For This :- 1. Test your connection to Oracle by opening a DOS Prompt and typing tnsping rep 2. The result should say "OK" at the bottom. Any failure to connect most likely indicates a problem with the sqlnet.ora file on the system. Replace the sqlnet.ora and tnsnames.ora files in C:\oracle\ora92\network\ADMIN.

              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