Results 1 to 2 of 2

Thread: Lock type in disconnected recordset

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2004
    Posts
    75

    Wink Lock type in disconnected recordset

    if i want to save record in database using disconnected recordset which locktype i should use and why?
    Have a nice day.
    Shailesh & Rajani

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    For a disconnected recordset there are only two lock types to use. adLockReadOnly and adLockBatchOptimistic.

    If you need to update the choice between the two is obvious.

    When you are ready to update the data again

    Re-Connect to your data source.
    Call the UpdateBatch method.

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