Subject | Re: [IBO] Records show at design time but not runtime |
---|---|
Author | Gary Benade |
Post date | 2006-03-14T17:16:06Z |
Add the following code to you Form2 constructor
procedure Form2.FormCreate(Sender: TObject);
begin
with ib_query1 do
begin
Open;
end;
end;
I'm don't use dephi but that should be about right. For some reason opening
the query in the DM constructor doesn't work.
or you could drop a TIB_DatasetBar onto your form, set the datasource
property to TIB_DataSource. Its not intuitive but it works.
HTH,
Gary
procedure Form2.FormCreate(Sender: TObject);
begin
with ib_query1 do
begin
Open;
end;
end;
I'm don't use dephi but that should be about right. For some reason opening
the query in the DM constructor doesn't work.
or you could drop a TIB_DatasetBar onto your form, set the datasource
property to TIB_DataSource. Its not intuitive but it works.
HTH,
Gary