Results 1 to 5 of 5

Thread: How to avoid requerying an ADO recordset

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Location
    Vancouver, BC
    Posts
    21

    Unhappy

    I'm sure this is easy for you, gurus.
    I'm designing a multiuser application using Oracle table. I want to see the other user changes without requerying the whole recordset. I will appreciate if I can get some sample codes.

    Thank you

  2. #2
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    ADO and disconnected recordsets

    connect to oracle using ADO
    get your data from table
    then disconnect the recordset by setting active connection
    to nothing...

    make your changes to recordset
    then use .resync property of recordset..


  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Location
    Vancouver, BC
    Posts
    21
    Why I need to disconnect the recordset?
    Before resync-ing the recordset do I need to open the connection again?

  4. #4
    Lively Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    88
    Yes, you have to reconnect again when you requery the recordset. The reason that Lafor disconnect in the first place because he didn't want to block other users to use that table.

    Anyway, Rodica, in your question, you said you wanted to see other users change without requery the whole recordset. Is that mean you want to see only the updated records or you don't care about the updated records?

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Location
    Vancouver, BC
    Posts
    21

    Unhappy I want to see all records

    I want to see all records including the ones updated by the other users.
    Do you have handy any code available?

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