OnDeleteError does not fire
Posted: Sun 25 Jul 2010 06:29
Using IBDAC 3.10.0.15 with FB2.1 Delphi 2010 Windows 7.
I have a small test project with a master-Detail relationship.
Both tables are IBCQuery components.
When I attempt to delete a detail record from an empty Detail table this generates an EDatabaseError as expected with 'Cannot perform this operation on an empty dataset' message.
I've written an OnDeleteError event for the Detail table - but it is not fired when this exception occurs.
I have a small test project with a master-Detail relationship.
Both tables are IBCQuery components.
When I attempt to delete a detail record from an empty Detail table this generates an EDatabaseError as expected with 'Cannot perform this operation on an empty dataset' message.
I've written an OnDeleteError event for the Detail table - but it is not fired when this exception occurs.