Results 1 to 7 of 7

Thread: Row Locking for VB and SQL 7.0

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    10
    Is it possible to perform row locking with VB and SQL 7.0 ?
    if yes, how to do it?

    if no, is it possible to use recordset lock instead of row lock? in the real world, what method will be used ?


  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    SQL 7 does row level locking by default

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    10
    um...
    Then How can I use it with VB 6.0?

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    10
    yes, I tried it before. But it is a recordset locking not a row locking....

  5. #5
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    What kind of cursor are you using?

  6. #6

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    10
    Client and Server both of them....

    You mean I just need to use vb provide function to do the record lock. Then It will be a Row Lock, not a recordset lock. right?

  7. #7
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    as soon as you edit the current record, that row will be locked in the database (assuming you don't use a disconnected recordset)

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