Delphi / Object Pascal · Database exception
What does BDE Error 9733 ($2605) - Master Record Missing mean in Delphi / Object Pascal?
Raised when a detail record references a master record, through a defined master-detail or referential-integrity link, that doesn't exist - the foreign key value has no matching row in the master table.
Raised when a detail record references a master record, through a defined master-detail or referential-integrity link, that doesn't exist - the foreign key value has no matching row in the master table.
Insert or select a valid master record before creating the detail row, and validate the foreign key value against the master table client-side before submitting the insert to surface the mistake earlier with a clearer message.