Subject | Re: [firebird-support] firebird-kylix problem |
---|---|
Author | Marcos Vinicius Dufloth |
Post date | 2004-07-30T12:46:13Z |
You can try this: .ApplyUpdates(-1).
*__________________________________________________________________*
*Marcos Vinicius Dufloth*
*Diretor de Tecnologia
**Cyber Informática Empresarial**
marvin@...* <mailto:marvin@...>
*http://www.tecnocyber.com.br* <http://www.tecnocyber.com.br/>
*__________________________________________________________________*
mariposil wrote:
*__________________________________________________________________*
*Marcos Vinicius Dufloth*
*Diretor de Tecnologia
**Cyber Informática Empresarial**
marvin@...* <mailto:marvin@...>
*http://www.tecnocyber.com.br* <http://www.tecnocyber.com.br/>
*__________________________________________________________________*
mariposil wrote:
>Hi.[Non-text portions of this message have been removed]
>
>It's a kylix problem but maybe someone can help me.
>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...
>
>Thanks so much.
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>