Re: Informix sqlca and Delphi
Posted in 1997
Kerry Sainsbury — — source: Informix-list mailing list archive (1991-1998)
>Marius Dreyer wrote:
>>
>> Hi evereyone
>>
>> Is somebody accessing the Informix sqlca from Delphi 1.01 ?
>>
>> The problem i'm having is to access the serial value for table into
>> which I just inserted a record.
From the latest (unreleased) Informix FAQ:
4.8.4 Can I access the SQLCA via a Stored Procedure?
Yes. This means that your Delphi/Visual Basic/Whatever program can also
access the SQLCA structure by using a Stored Procedure like this:
CREATE PROCEDURE GetSerialNumber() RETURNING integer; RETURN DBINFO('sqlca.sqlerrd1');
END PROCEDURE
Cheers,
Kerry S