Page 1 of 1

MS Sql Record lock

Posted: Sat 22 Jan 2005 02:03
by rashid
hi,
i would like to know how do i lock a record using your component.
this is to ensure 2 users do not edit the same record at the same time.
thanks in advance

Re: MS Sql Record lock

Posted: Mon 24 Jan 2005 10:52
by Ikar
MS SQL Server doesn't provide this functionality.

Using CheckRowVersion property you can check if the record was updated since the last call of Refresh.