UniSession.AddJS('window.open(' + QuotedStr(UniServerModule.LocalCacheURL + FileName) + ')');
Jump to content
Posted 13 June 2013 - 09:54 PM
I am using QuickReport with no problem (by now ),
In design time I create and add to project a standard delphi form (not UNi) and put in this form the report. I create an instance of this form on runtime.
I put data (from my database, images, etc...) in the report then I export it to pdf. Then I kill the report form and show the generated pdf in a urlframe or in a new nevigator page.
If you want sample please ask...
Posted 19 November 2013 - 03:22 AM
I Use ISAPI Mode( IIS7 ) and use the sample code from Anders Andersen ,when I run the export function ,program crashed and browser displayed the following message:
Invalid session or session Timeout.
I found that if I use a blank report form,system can export a blank pdf file normally
, but when I added a report band and QRLabel to the report form, problem occoured ,Please help
Posted 14 November 2017 - 01:23 PM
I'm migrating to FR, but now, I use QR and this works for me without any problem:
rep.ExportToFilter(tqrPDFDocumentfiltER.Create(UniServerModule.StartPath + 'files\tmp\' + xreport));
UniSession.SendFile(UniServerModule.StartPath + 'files\tmp\' + xreport,xreport);
xreport is string like 'report.pdf'
0 members, 0 guests, 0 anonymous users