Subject | Re: [firebird-support] get foreign key |
---|---|
Author | Helen Borrie |
Post date | 2007-04-10T13:51:28Z |
At 10:43 PM 10/04/2007, you wrote:
the operation. Delphi is very good at handling exceptions and this
is by far the most efficient way to do it.
./heLen
>hi all, i have this project to build a crm application. my sales orderCatch the exception, report the problem to the user and then cancel
>table has a foreign key referenced to the customer table. my problem
>is that, everytime i try to delete a customer record, i got this
>"foreign key" exception. how do i know that this customer record is
>not referenced to the sales order record before the user press the
>delete button?
>
>i use firebird 2 and delphi 7
>
>any comments will be highly appreciated
the operation. Delphi is very good at handling exceptions and this
is by far the most efficient way to do it.
./heLen