Subject Re: [IBO] Re: Learning IBO & Delphi
Author Helen Borrie
Guillermo,

In the DPR file ("Project|View Source") move the Application.Create line for the datamodule up to the top. If the form is created first, it tries to refer to data objects that don't exist yet.

Regards,
Helen


At 08:46 PM 27-05-01 +0000, you wrote:
>Geoff,
>
>Thanx for you answer. As you suggested I inserted "uses
>IB_Components" in my form, which is the main one. The compiler error
>I reported before was corrected, but now I'm getting the following
>runtime error:
>
>"Access violation at address 00546c2d in module "lyr.exe". Read
>address FFFFFFFF".
>
>It allows me to continue, but when I get into the grid form where I
>display the dB information, the same error pops and shows the grid as
>if the query was not active. I have
>
>InterBase 6.0
>Delphi 5 Enterprise
>192 MB RAM
>300 MB free HD space
>Pentium II
>IBObjects 3.6C
>Windows 98
>
>
>I'd appreciate your help.
>
>Thank you !!
>Guillermo
>
>--- In IBObjects@y..., "Geoff Worboys" <geoff@t...> wrote:
> > > Without this routine my sample app works fine; including it I get
>a
> > > compiler error: "Undeclared Identifier 'TIB_Query'". Its kind of
> > > wired since in my Data Module I have declarations like this:
> >
> > I presume the code you showed was within your form and not your
> > datamodule - hence the need to use "with datamod do". The
>datamodule
> > automatically got all the uses clauses added when you dropped the
> > components on it. The form will not have had the IBO units added
> > unless you had also dropped such components onto the form. So I
> > suspect your problem is simply that the form needs...
> >
> > implementation
> >
> > uses IB_Components;
> >
> >
> > HTH
> >
> > Geoff Worboys
> > Telesis Computing
>
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________