Subject Res: Re: [IBO] (unknown)
Author Giovani - Terra
Dear Dmitry.

I tried to do like this, just inserting the code for Tb001_codigo_posicao,
but when it tries to commit, the error appears again.
I'm becoming crazy.
By the way, i'm using Firebird 1.0.

Chave2:= QryEdicaoTabela.Gen_ID('GENERATOR_POSICAO',1);

with DataModulo.QryPesquisa do
begin
Close;
Sql.Clear;
Sql.Add('INSERT INTO TB001_POSICAO');
Sql.Add('(TB001_CODIGO_POSICAO)');
Sql.Add('VALUES');
Sql.Add('('''+IntToSTr(Chave2)+''')');
ExecSql;
end;

Any help will be good.. Sorry for the inconvenience :/


[Non-text portions of this message have been removed]