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. Cells in ADOMD VC++

Cells in ADOMD VC++

Scheduled Pinned Locked Moved C / C++ / MFC
c++sharepointdatabasehelptutorial
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.
  • U Offline
    U Offline
    User 780
    wrote on last edited by
    #1

    OS : Windows 95/98/NT. sp 5 Tool : VC++ 6.0 Hi there every one, I'm working on returning multi-dimensional result sets using MDX and ADOMD. I have openned up the CellSet with the snipet below: ICellsetPtr m_CellSet("ADOMD.Cellset"); m_CellSet->PutSource(pvSource); //pvSource MDX sql statement m_CellSet->ActiveConnection = m_connection; m_CellSet->Open(); The next thing is to get access to the data in individual Cells with: m_CellSet->GetItem(SAFEARRAY** idx); //prototype for method //I do; SAFEARRAY * CellArray; SAFEARRAYBOUND CellArrayBound; CellArrayBound.cElements = 1; CellArrayBound.lLbound = 0; CellArray = SafeArrayCreate(VT_I4, 1,CellArrayBound); m_Cell = m_CellSet->GetItem(&CellArray); I've tried various ways but I keep getting "incorrect parameters" There does not seem to be any example in VC++ on ADOMD. Has anybody out there done any ADOMD in VC++? I need help especially where Cells items are created Thanks] Michael

    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