Quoting Darren J Gilbertson <[EMAIL PROTECTED]>:

> In a database application I keep getting the following error:
> 
> record already locked by this session
> 
> How can I get rid of this?

In my experience this is caused by an exception that has occurred, possibly 
during a data validation or post. Try removing the cause of the exception or 
preventing it from occurring.  It seems possible in later releases of the BDE 
for the lock that is placed on a table when it is edited to become orphaned 
when an exception occurs and then when the BDE tries to lock the table again to 
continue the operation, the error message occurs.

HTH
================
Patrick Dunford
---------------------------------------------------------------------------
  New Zealand Delphi Users group - Database List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to