Subject Re: [IBO] Stored Procedure
Author Svein Erling Tysvær
Hi Marv, and welcome to the world of IBO!

>I have a TIB_StoredProc on a Datamodule. I have set the IB_Connection
>to a TIB_Connection, which points to a DB.

You probably want a TIB_Transaction as well - everything has to happen
within a transaction.

>The connection is OK and I can select the SP in the TIB_StoredProc, but
when I
>try to reference it, I get an Access Violation.

Exactly what do you mean by "reference it"? Show us some code, please.

>This seem so simple....

If so, this list will easily solve it with you.

>The SP does nothing more than get the next value of a generator.

Then why use a SP? Have you checked GeneratorLinks (it's brilliant for
primary keys)?

Set