Results 1 to 2 of 2

Thread: Recordset Locking ?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2003
    Location
    UK, Sheffield
    Posts
    29

    Recordset Locking ?

    I have a multi-user vb application with SQL server. I use server-side curson and lock type is adLockPessimistic. So only one user can edit the record at a time.
    But I don't know if another user tried to edit the locked record, what's going to be happened? An error or something else?

    Thanks

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    it should throw an error that the record is locked.. you would just have to trap the error and handle it

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