design report as no modal
I try to open designer as no modal window.
report.DesignReport(False,False);
First time, works fine. but second time (when designer window is still opened), I try to clear previous designed raport and load new this way, but I get a lot of acces violation errors.
begin
Report.clear.;
Report.LoadFromFile(plik);
report.Designer.ReloadReport;
end;
How to do it properly?