Subject | Re: [IBO] Error SQL -502 |
---|---|
Author | Helen Borrie |
Post date | 2005-05-27T11:46:23Z |
At 10:03 AM 27/05/2005 +0000, you wrote:
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
> > You must isolate each thread within its own TIB_Session (alsoIf all of the objects for your thread are in their own datamodule, IBO just
>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 ?
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