--- In IBObjects@y..., "Geoff Worboys" <geoff@t...> wrote:
Geoff
Its happens at application starts, before any onCreate Event is fired.
I used a TDataModule which holds the IB_StoredProc. In CBuilder there
exists an Event TDataModule.onCreate wich is fired after executing the
Constructor. Here I prepared the IB_StoredProc.
But before I can prepare, therefor before TDataModule.onCreate, I get
the described exception.
I solve this problem by setting
StoredProcForSelect to false and StoredProcHasDML to true. Don't no
why but so it works and I can start my application.
Best Regards
Jörg
> Jörg,
>
> Not sure I understand. You cant use a storedproc until you are
> connected. So what is the situation - do you think you should be
> connected, or is the storedproc firing before you expect or what?
>
> A callstack may help show what is happening.
>
> Geoff Worboys
> Telesis Computing