Subject | Pessimistic Lock |
---|---|
Author | Metin Gönen |
Post date | 2002-05-23T12:49:12Z |
Hello ,
I am using IBO 4.2GC and Delphi6 .
Transaction.Autocommit=True
Transaction.LockWait=False
Transaction.ServerAutoCommit=False
TIB_Query.PessimisticLocking=True;
Lets say two clients are trying to access same record , one is in edit
mode and locked the record .
When the other client wants to edit the locked record I want to use my error
trapping code to show a message to the other client that , that record is in
edit mode. This should be before the second user goes to edit mode . What
must I do ?
Thanks,
Metin Gonen
[Non-text portions of this message have been removed]
I am using IBO 4.2GC and Delphi6 .
Transaction.Autocommit=True
Transaction.LockWait=False
Transaction.ServerAutoCommit=False
TIB_Query.PessimisticLocking=True;
Lets say two clients are trying to access same record , one is in edit
mode and locked the record .
When the other client wants to edit the locked record I want to use my error
trapping code to show a message to the other client that , that record is in
edit mode. This should be before the second user goes to edit mode . What
must I do ?
Thanks,
Metin Gonen
[Non-text portions of this message have been removed]