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. return Recordset

return Recordset

Scheduled Pinned Locked Moved Database
questiondatabase
3 Posts 3 Posters 1 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
    Max Santos
    wrote on last edited by
    #1

    How can i return a recorset from a Stored procedure ? rs = Cmd1->Execute(NULL, NULL,adCmdStoredProc); why is this allways returning a closed recorset? Casa.Sapo.pt

    M R 2 Replies Last reply
    0
    • M Max Santos

      How can i return a recorset from a Stored procedure ? rs = Cmd1->Execute(NULL, NULL,adCmdStoredProc); why is this allways returning a closed recorset? Casa.Sapo.pt

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      I don't know the answer but there are some articles in CP about stored procedure.Have you looked at them? http://www.codeproject.com/database Mazy "The more I search, the more my need For you, The more I bless, the more I bleed For you."The Outlaw Torn-Metallica

      1 Reply Last reply
      0
      • M Max Santos

        How can i return a recorset from a Stored procedure ? rs = Cmd1->Execute(NULL, NULL,adCmdStoredProc); why is this allways returning a closed recorset? Casa.Sapo.pt

        R Offline
        R Offline
        Rashid Thadha
        wrote on last edited by
        #3

        That third parameter on your Execute call looks dodgy, I think it should be something like adNoOptionSpecified (it might be slightly spelt incorrectly, check MSDN)

        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