Jump to content


Photo

Quickreport


  • Please log in to reply
54 replies to this topic

#41 Anachronox

Anachronox

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 121 posts
  • LocationEU

Posted 29 May 2013 - 02:38 PM

Instead of using UniURLFrame you can open new browser tab using javascript :

  UniSession.AddJS('window.open(' + QuotedStr(UniServerModule.LocalCacheURL + FileName) + ')');

  • 0

#42 knopix

knopix

    Active Member

  • Members
  • PipPipPip
  • 71 posts

Posted 30 May 2013 - 03:47 AM

I use FastReport when making MODULE ISAPI applications are no constraints on the subordinate component FastReport (frxXLSExport). mine for Applications with VCL Application / Stanalone Server / ISAPI module running smoothly and quickly

 


  • 0

#43 Antonio Torregrosa

Antonio Torregrosa

    Member

  • Members
  • PipPip
  • 11 posts

Posted 13 June 2013 - 09:54 PM

Hello 

 

I am using QuickReport with no problem (by now  :D),

 

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...


  • 0

#44 Alberto vesx

Alberto vesx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 466 posts

Posted 13 June 2013 - 11:37 PM

Try to not use quickreport. It is not threadsafe. Use FastReport instead.


  • 0

#45 knopix

knopix

    Active Member

  • Members
  • PipPipPip
  • 71 posts

Posted 14 June 2013 - 02:19 AM

Hello Mr.Alberto vesx is there any sample project for me to learn ISAPI MODULE.which can Export to pdf, xml, XLS? thank you.









Regards
Knopix
  • 0

#46 knopix

knopix

    Active Member

  • Members
  • PipPipPip
  • 71 posts

Posted 14 June 2013 - 02:27 AM

Hello Mr.Antonio Martínez What If I create a Project with ISAPI MODULE Unigui? When to Export to PDF, XML, XLS at QuikReport?









Regards
Knopix
  • 0

#47 winsonsiu

winsonsiu

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 19 November 2013 - 03:22 AM

Hello All,

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.

Restart application

 

 

 

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


  • 0

#48 Sebastiao Purcini

Sebastiao Purcini

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 14 November 2017 - 12:23 PM

Hi guys!

 

I have the same problem, using quickreport(ExportToFilter):

 

Invalid session or session Timeout.

Restart application

 

Can someone help us ?


  • 0

#49 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3432 posts

Posted 14 November 2017 - 12:24 PM

Hi,

Are you using a trial edition?
  • 0

#50 Sebastiao Purcini

Sebastiao Purcini

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 14 November 2017 - 12:58 PM

Hi,

 

Professional Edition. Application(DLL) is on IIS.


  • 0

#51 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3432 posts

Posted 14 November 2017 - 01:08 PM

First of all please visit here:
http://forums.unigui...-email-address/
  • 0

#52 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 14 November 2017 - 01:23 PM

Hi.

 

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

#53 Sebastiao Purcini

Sebastiao Purcini

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 14 November 2017 - 01:51 PM

Hi!

 

Me too. In my computer it works.

qrpMCP901.ShowProgress := false;
qrpMCP901.Prepare();
qrpMCP901.ExportToFilter(reportPDF);

But, in IIS server, the error occurs here: qrpMCP901.ExportToFilter(reportPDF);

 

Then restart application.


  • 0

#54 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 15 November 2017 - 11:48 AM

Sorry.

 

I use like that in apache, and woks.

 

Perhaps a permissions issue?


  • 0

#55 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9815 posts

Posted 15 November 2017 - 05:54 PM

Hi,

 

Professional Edition. Application(DLL) is on IIS.

 

Please specify your registered email address.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users