|
Question: Can I get an example of LockRecord coding?
Answer: var lck: TLockStatus;
lck:=pFIBDataSet.LockRecord(false);
case lck of
lsDeadLock: ShowMessage('Used by another user');
lsNotExist: ShowMessage('Record deleted');
lsMultiply: ShowMessage('Multiply records bloqued');
lsUnknownError: ShowMessage('Unknown Error locking')
else
// Access granted
end;
We use FIBPlus in all our applications, and we're very satisfied. If you're coming from IBX, FIBPlus is an especially good choice in as much as it has a common origin, and therefore, a similar structure, so conversion from IBX to FIBPlus is rather easy. >>