Subject Re: [IBO] Error SQL -502
Author Helen Borrie
At 10:03 AM 27/05/2005 +0000, you wrote:

> > You must isolate each thread within its own TIB_Session (also
>distinct from
> > the IB_Session that IBO creates for the main thread). You'll find
>the
> > TIB_Session component on the iboCore palette.
> >
> > It's simple, as long as you are careful to have the TIB_Session as
>the
> > *first* object created in the thread (fix up the Creation Order if
>need
> > be.) Then, set the IB_Session property of your connection object
>to this
> > session object...and so on.
> >
> > Helen
>
>
>thaks a lot!! that's work :)
>
>how can i set the IB_Session property to component in a datamodule ?
>by setting the TIB_Session.DefaultConnection to my Connection ?

If all of the objects for your thread are in their own datamodule, IBO just
does it for you automatically.

If you have thread objects and main objects in the *same* datamodule,
belonging to multiple session objects you'll have to set the property in
your code. (But why would you?)

Helen