Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jorik de Wit — — source: Informix-list mailing list archive (1991-1998)
This is a FAQ (as I only recently found out)
Try something like:
select dbinfo("sqlca.sqlerrd1") from atable
immediately following your insert...
Edgardo Robles wrote in message ...
>how can I get the value of a serial field after an insert using Visual
Basic
>and ADO.
>
>I know that I could use sqlerrd[6] in 4gl to get the value.
>
>Thank you.
>
>
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.