Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

TppViewer Blank

edited September 2006 in End User

Have a TForm including a TppViewer linked with a TppReport, that in
FormShow event executes:

procedure TFormReport.FormShow(Sender: TObject);
begin
Report.Template.LoadFormStream(stream);
Report.Devicetype := 'Screen';
Report.PrintToDevices;
end;

The first time that I creates the form and show it, everything works fine,
but consequents times, the Viewer appears blank.
I destroy the form, create and show it again. Method PrintToDevices is
executed but nothing occurs.
Thanks.


Fernando L. Garetto
Desarrollo
FULFILL TECHNOLOGY S. A.
27 de Abril 424 3ro. A
X5000AEJ - C?RDOBA - RA
TE: 54 351 4283419
http://www.fulfill-tech.com

Comments

This discussion has been closed.