Delphi / Object Pascal · Database exception

BDE Error 10260 ($2814) - Record Deleted Or Moved By Another User

What does BDE Error 10260 ($2814) - Record Deleted Or Moved By Another User mean in Delphi / Object Pascal?

Raised on Post when the record being edited was deleted, or moved by a reindex, by another user's session since this session read it, so there's nothing left to save the edit into.

BDE Error 10260 ($2814) - Record Deleted Or Moved By Another UserDelphi (VCL) · Delphi (BDE)

Condition

Raised on Post when the record being edited was deleted, or moved by a reindex, by another user's session since this session read it, so there's nothing left to save the edit into.

Fix

Catch this specifically to tell the user the record no longer exists rather than showing a generic edit-conflict message, and refresh the dataset so the stale record disappears from the UI.

Pending source verification. Not yet checked against official documentation.

Related database exception