Click to See Complete Forum and Search --> : Row Locking for VB and SQL 7.0
Smallkeung
Mar 21st, 2000, 03:10 AM
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 ?
Clunietp
Mar 21st, 2000, 08:51 AM
SQL 7 does row level locking by default
Smallkeung
Mar 21st, 2000, 10:36 AM
um...
Then How can I use it with VB 6.0?
Smallkeung
Mar 22nd, 2000, 04:16 PM
yes, I tried it before. But it is a recordset locking not a row locking....
Clunietp
Mar 22nd, 2000, 11:47 PM
What kind of cursor are you using?
Smallkeung
Mar 23rd, 2000, 02:07 AM
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?
Clunietp
Mar 23rd, 2000, 09:27 AM
as soon as you edit the current record, that row will be locked in the database (assuming you don't use a disconnected recordset)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.