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. Disconnected Recordset Opening and Closing problem.

Disconnected Recordset Opening and Closing problem.

Scheduled Pinned Locked Moved C / C++ / MFC
helpdatabasecomsysadminquestion
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.
  • Y Offline
    Y Offline
    yamini
    wrote on last edited by
    #1

    Hi, I am working with Disconnected Recordsets in a Component Function.I am passing the Recordset pointer from the Server to Client.There is no problem here.However , when I run the client for the First Time the Connection and Recordset objects are opened and I can get the records at the client(The server maintains these Records in MS Access DB).When I run the client for the second time and so on I get the COM error that "The application requested an operation which cannot be performed on an Object which is already open ".The error is due to Recordset opening at the start of the function .But, I am closing the REcordset at the client side. How should I open and close the REcordset in that case to avoid this error ? Thanx in advance for the help . Regards, yamini

    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