Subject RE: [IBO] ATTENTION: IB_Connection is not streamed out in 3.6Dh/i
Author Riho-Rene Ellermaa
Sometimes I have also have my Queries Connection properties to dissapear.
Now I set the Conn and Trans values for all used queries in forms OnShow
event.

Riho-Rene Ellermaa
senior programmer
Hansabank

> -----Original Message-----
> From: Mario Zimmermann [mailto:mail@...]
> Sent: Thursday, June 28, 2001 11:25 AM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] ATTENTION: IB_Connection is not streamed
> out in 3.6Dh/i
>
>
> I *have* set AllowDefaultTransaction to false. My IB_Connection is in
> a datamodule and all IB_xxx on other forms refer to that connection.
> After I have updated to 3.6Dh/i I can still see the correct
> IB_Connection property on my forms (i.e.: "DModule->IB_Connection")
> but it is not streamed out to the dfm file anymore. So, at designtime
> everthing seems to be ok, but at runtime I get an exception, saying
> that the query must have an IB_Connection assigned.
>
> Mario
>
>
> --- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> > In what way did it mess up your forms? The only case where it won't
> stream
> > them out is if they are the default connection for the session. In
> which
> > case it will automatically pick up the default connection
> when it is
> blank
> > in the DFM upon loading.
> >
> > If you want it to always stream them out set the session[props] to
> false for
> > AllowDefaultConnection.
> >
> > HTH,
> > Jason Wharton
> > CPS - Mesa AZ
> > http://www.ibobjects.com
> >
> >
> > ----- Original Message -----
> > From: "Mario Zimmermann" <mail@z...>
> > To: <IBObjects@y...>
> > Sent: Thursday, June 28, 2001 1:54 AM
> > Subject: [IBO] ATTENTION: IB_Connection is not streamed out in
> 3.6Dh/i
> >
> >
> > > Hi Jason, hi list
> > >
> > > I just noticed that the IB_Connection property of IB_Query,
> IB_DSQL,
> > > IB_Cursor... is not streamed out to the dfm file anymore.
> > >
> > > Just view a form as text to check this.
> > >
> > > This has messed up the forms which I have worked on since I have
> > > updated to 3.6h/3.6i.
> > >
> > > For now I rolled back to 3.6Dg and the problem went away.
> > >
> > > Mario
> > >
> > >
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
>
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/