Subject Pessimistic Lock
Author Metin Gönen
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]