hide reports dialog page
Hi,
I have a report with dialog page and want to prepare report without showing it.
frxReport.Clear;
frxReport.LoadFromFile('C:\1.fr3');
frxReport.PrepareReport;
After this dialog form shows up, which I dont need. Visible:=False wont work, because all events will be lost.
Any suggestions how to do this the other way?
Thanks in advance,
BR
kirov
I have a report with dialog page and want to prepare report without showing it.
frxReport.Clear;
frxReport.LoadFromFile('C:\1.fr3');
frxReport.PrepareReport;
After this dialog form shows up, which I dont need. Visible:=False wont work, because all events will be lost.
Any suggestions how to do this the other way?
Thanks in advance,
BR
kirov
Comments
frxReport.LoadFromFile('C:\1.fr3');
do it here
before calling preparereport use the find object method to find and set the props of the objects you want to set
frxReport.PrepareReport;