Subject Re: [IBO] Newbie Question
Author Paul Vinkenoog
Hi Rich,

> I am just starting with IBObjects.
>
> I have an IBConnection, IBQuery, and IBDatasource on a simple form.
> It has a Grid and one text box.
>
> During design the grid and the text box are filled with the proper
> columns from the database.
>
> But when I run the exe the grid and text box are empty.
>
> What am I missing?

Probably you have the Connected property of your connection and the
Active property of your query set to true in the Object Inspector, so
you have a live database while designing.

But at runtime you have to connect explicitly with the Connect method.
You also have to prepare and open your datasets (in this case: your
query) before you can see any data.


Greetings,
Paul Vinkenoog