Subject Re: [IBO] Re: Dataset.create code
Author Jason Wharton
I'm still not very clear on what you are trying to accomplish here...

Jason Wharton
CPS - Computer Programming Solutions
Mesa Arizona
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --

----- Original Message -----
From: "bruce_haskell" <brucehaskell@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, May 09, 2003 9:26 AM
Subject: [IBO] Re: Dataset.create code


> Thanks, Jason.
>
> I found a number of references to procedures in IBA_Dataset.int,
> IBA_Connection.int, IBA_session.int and IBA_statement which might
> help me with my answer, but there is no underlying code for the
> procedures in those files. (nor can I see them in any other file)
> If you can point to the right files, it would be great.
>
> The .imp files only appear to apply to the win controls, not the
> related dataset components.
>
> Thanks for any additional information you can give me.
>
> Bruce
>
>
> --- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@i...>
> wrote:
> > Trace out the DatabaseName property and that should lead you to
> what you are
> > looking for.
> > Did you look in the .imp files?
> >
> > Jason Wharton
> > CPS - Computer Programming Solutions
> > Mesa Arizona
> > http://www.ibobjects.com
> >
> > -- We may not have it all together --
> > -- But together we have it all --
> >
> > ----- Original Message -----
> > From: "bruce_haskell" <brucehaskell@c...>
> > To: <IBObjects@yahoogroups.com>
> > Sent: Thursday, May 08, 2003 6:13 AM
> > Subject: [IBO] Dataset.create code
> >
> >
> > > I am migrating from BDE to IBO. My own component (a descendent of
> > > TwinControl which acts as a container for other controls), which I
> > > use in my applications, has a property to set the database to
> > > interact with. With the BDE I was able to write a property
> editor to
> > > display all the BDE aliases accessing the Session variable.
> > >
> > > For compatibly purposes, I would like this property to work
> similar
> > > to the Databasename property on the IBODatasets. (The IBODataset
> > > property editors only work with descendents of IBO objects.) To
> work
> > > around this I had hoped the see how the IBO components find the
> > > IBODatabase when they get created.
> > >
> > > I look through all the IBO4 .pas, .int, .pbl files for the code,
> but
> > > can not find it.
> > >
> > > Can some one tell me where this code is or how I can have my
> > > component find a IBOdatabase (that may be in a different unit in a
> > > project)?
> > >
> > > Thanks in advance.
> > >
> > > Bruce