Subject Re: [IBO] Records show at design time but not runtime
Author mitch_landor
--- In IBObjects@yahoogroups.com, Lucas Franzen <luc@...> wrote:
>
>
>
> mitch_landor schrieb:
> > I've placed TIB_Connection, TIB_Query, TIB_Datasource onto a
DataModule.
> >
> > I've placed TIB_Grid, TIB_Navigationbar, TIB_Searchbar, TIB_Updatebar
> > onto a form.
> >
> > The form "uses" the datamodule.
> >
> > Everything seems to be active and I can see the data in the grid at
> > design time. But when I run the Form the grid comes up blank and the
> > TIB_Navigationbar, TIB_Updatebar are greyed out.
> >
> > Tips would be greatly appreciated.
>
> You have to prepare and open the dataset at runtime.
>
> Doing this at design time in the object inspector is just valid for
> design time.
>
> Luc.
>

Thanks Luc,

How do I prepare and open the dataset at runtime?