The report is lost from preview (TfrxPreview) after exporting the report frxReport1.Export(frxPDFExport1). What should be done ?
Question: The report is lost from preview (TfrxPreview) after exporting the report frxReport1.Export(frxPDFExport1). What should be done ?
Answer:
Do this:
1 2 3 |
frxPreview1.Lock; frxReport1.Export(frxPDFExport1); frxPreview1.UnLock; |
Or this :
1 |
frxPreview1.Export(frxPDFExport1);
|