Subject Re: Learning IBO & Delphi

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 !!

--- In IBObjects@y..., "Geoff Worboys" <geoff@t...> wrote:
> > Without this routine my sample app works fine; including it I get
> > 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
> 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;
> Geoff Worboys
> Telesis Computing