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. Database & SysAdmin
  3. Database
  4. OLE DB/ATL guides worthless

OLE DB/ATL guides worthless

Scheduled Pinned Locked Moved Database
databasequestionc++csharpvisual-studio
2 Posts 2 Posters 4 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.
  • B Offline
    B Offline
    Bigge
    wrote on last edited by
    #1

    For the last month i have studing OLE DB with ATL and the ATL wizard in Visual studio c++. I have Read severals articles about connecting to a database with CCommand and Caccessor and making SQL questions under DEFINE_COMMAND...... All this articles reflects a DB with only one Table. When you then wont to connect to several tables making SQL question, how do i do that? Is it not possible or what? It must be, or else i think the ATL class for OLE DB is useless. /Bigge

    N 1 Reply Last reply
    0
    • B Bigge

      For the last month i have studing OLE DB with ATL and the ATL wizard in Visual studio c++. I have Read severals articles about connecting to a database with CCommand and Caccessor and making SQL questions under DEFINE_COMMAND...... All this articles reflects a DB with only one Table. When you then wont to connect to several tables making SQL question, how do i do that? Is it not possible or what? It must be, or else i think the ATL class for OLE DB is useless. /Bigge

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Just like with anything the wizards are a good start, but you must be able to add to what has been provided. The ATL OLE DB wizard only works with one table soyou will have to hand code the Accessor to provide for the additional tables.

      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