Subject | Re: [firebird-support] firebird-kylix problem |
---|---|
Author | Walter Neumann |
Post date | 2004-07-29T19:54:47Z |
Hi,
Am Donnerstag, 29. Juli 2004 19:23 schrieb mariposil:
returns the number of rows, which couldn't updated. Every return value higher
then 0 tells you, that there was an error.
See you,
Walter.
Am Donnerstag, 29. Juli 2004 19:23 schrieb mariposil:
> It's a kylix problem but maybe someone can help me.Try except doesn't work with ApplyUpdates. But ApplyUpdates is a function. It
> When firebird 1.5 returns duplicate primary key error or foreign key
> violation error, kylix3 does not capture it. This is my code:
>
> Try
> CLRes.ApplyUpdates(0);
> except
> on E:Exception do
> begin
> E.Message := 'Error:' + E.ClassName+' '+E.Message;
> Raise;
> end;
> end;
>
> Kylix does'nt execute the except clause... it's very strange...
returns the number of rows, which couldn't updated. Every return value higher
then 0 tells you, that there was an error.
See you,
Walter.