First Report
Hi
I have started to produce my first report, I can preview the report fine in designer and I have saved the report from there.
However when I try to generate the report at run time I only see a brief flash then no report.
I have the following code
IBOQueryPins.Active := False;
frReport1.LoadFromFile('rep1'); // File I saved from designer
IBOQueryPins.Active := True;
if frReport1.PrepareReport then
begin
ShowMessage('prepared OK'); // this message comes up ok
frReport1.ShowPreparedReport ;
end;
Is this the correct way ?
Rgds
Peter
Cyionics Ltd
I have started to produce my first report, I can preview the report fine in designer and I have saved the report from there.
However when I try to generate the report at run time I only see a brief flash then no report.
I have the following code
IBOQueryPins.Active := False;
frReport1.LoadFromFile('rep1'); // File I saved from designer
IBOQueryPins.Active := True;
if frReport1.PrepareReport then
begin
ShowMessage('prepared OK'); // this message comes up ok
frReport1.ShowPreparedReport ;
end;
Is this the correct way ?
Rgds
Peter
Cyionics Ltd
Comments
That doesn't help, I changed the path to an absolute one.
Are there any checks I can make ?.
Rgds
Peter