Results 1 to 7 of 7

Thread: Op not allowed when obj is closed? - RESOLVED

Threaded View

  1. #1

    Thread Starter
    Lively Member mdsoren's Avatar
    Join Date
    Apr 2002
    Location
    Iowa, USA
    Posts
    113

    Op not allowed when obj is closed? - RESOLVED

    I get the following error when attempting to assign a recordset as the Data source for a DataReport in VB6...

    "Operation not allowed when object is closed."

    I have not explicitly closed the newly created rst.
    I am using:
    cursorlocation of adUseClient
    cursortype of adLockReadOnly
    cursorlocktype of adLockOptimistic

    What else can i check? The very next step after creating the rst I check the recordcount and that is when I am getting the error.

    HELP!
    Last edited by mdsoren; Sep 20th, 2002 at 12:42 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width