Jump to content


Photo

Quickreport


  • Please log in to reply
54 replies to this topic

#21 Anders Andersen

Anders Andersen

    Advanced Member

  • Members
  • PipPipPipPip
  • 144 posts
  • LocationCopenhagen, Denmark

Posted 30 May 2011 - 07:27 AM

Demo application, as promised.

There are mainly two small things to keep in mind. Do not have the application auto create the quick report form. When you add the form, go into the project settings and remove the form from the autocreate list.
Secondly you need to disable the progressindicator from the report as it doesn't make sense in webmode. (TQuickRep.ShowProgress := False)

Attached Files


  • 0

#22 WildFrag

WildFrag

    Member

  • Members
  • PipPip
  • 25 posts

Posted 30 May 2011 - 09:16 AM

Demo application, as promised.

There are mainly two small things to keep in mind. Do not have the application auto create the quick report form. When you add the form, go into the project settings and remove the form from the autocreate list.
Secondly you need to disable the progressindicator from the report as it doesn't make sence in webmode. (TQuickRep.ShowProgress := False)


Use FastReport, normal work with unigui.
  • 0

#23 Anders Andersen

Anders Andersen

    Advanced Member

  • Members
  • PipPipPipPip
  • 144 posts
  • LocationCopenhagen, Denmark

Posted 30 May 2011 - 10:40 AM

Use FastReport, normal work with unigui.

So does quickreport.
  • 0

#24 Cristiano Testai

Cristiano Testai

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 359 posts
  • LocationBrazil

Posted 30 May 2011 - 01:23 PM

I can add that I am using Quickreport 5.0.5 and D2009 along with UniGui with no issues whatsoever. You need to manually create the form that the report component resides on and manually create an export component to produce the PDF file.

The example code in the quickreport knowledge base should be enough to get you started. I can post my own example code on monday if you like.



Hi,

Do you can send for me too?

Tks
  • 0

#25 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9815 posts

Posted 30 May 2011 - 01:25 PM

Hi,

Do you can send for me too?

Tks


The attached example is 4 messages above.
  • 0

#26 Flavio

Flavio

    Active Member

  • Members
  • PipPipPip
  • 66 posts

Posted 30 May 2011 - 02:52 PM

Demo application, as promised.

There are mainly two small things to keep in mind. Do not have the application auto create the quick report form. When you add the form, go into the project settings and remove the form from the autocreate list.
Secondly you need to disable the progressindicator from the report as it doesn't make sense in webmode. (TQuickRep.ShowProgress := False)



Thanks
  • 0

#27 Flavio

Flavio

    Active Member

  • Members
  • PipPipPip
  • 66 posts

Posted 30 May 2011 - 07:13 PM

Demo application, as promised.

There are mainly two small things to keep in mind. Do not have the application auto create the quick report form. When you add the form, go into the project settings and remove the form from the autocreate list.
Secondly you need to disable the progressindicator from the report as it doesn't make sense in webmode. (TQuickRep.ShowProgress := False)



Dude, your source blz can not compile, missing some units of the error, but c'mon, I did exactly as was his source and appreciate me a message telling me that the creator must be a form uniaplication
  • 0

#28 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9815 posts

Posted 30 May 2011 - 07:32 PM

What units are missing? I can successfully compile it with Delphi XE and QR Trial version.
  • 0

#29 Flavio

Flavio

    Active Member

  • Members
  • PipPipPip
  • 66 posts

Posted 30 May 2011 - 07:36 PM

Units are missing: uniGUIAbstractClasses, uniGUIClasses, uniGUIBaseClasses

I use Delphi 2009 to QR 05.05
  • 0

#30 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9815 posts

Posted 30 May 2011 - 07:38 PM

Units are missing: uniGUIAbstractClasses, uniGUIClasses, uniGUIBaseClasses

I use Delphi 2009 to QR 05.05


What uniGUI version have u installed?
  • 0

#31 Flavio

Flavio

    Active Member

  • Members
  • PipPipPip
  • 66 posts

Posted 30 May 2011 - 07:59 PM

fmsoft_unigui_beta_0.84.5.836_setup
  • 0

#32 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9815 posts

Posted 30 May 2011 - 08:08 PM

Why haven't you upgraded to latest build? Please see beta forums for details.
  • 0

#33 Anders Andersen

Anders Andersen

    Advanced Member

  • Members
  • PipPipPipPip
  • 144 posts
  • LocationCopenhagen, Denmark

Posted 30 May 2011 - 09:14 PM

I recommend you try the latest build.
  • 0

#34 danluc

danluc

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 11 June 2011 - 02:25 PM

Hi I tried the example set by Anders Andersen but not on the web and if it does in the exe, with a great job
my version Delphi10 UniGui 0.85.0 build 870
  • 0

#35 Anders Andersen

Anders Andersen

    Advanced Member

  • Members
  • PipPipPipPip
  • 144 posts
  • LocationCopenhagen, Denmark

Posted 13 June 2011 - 10:59 AM

I don't understand what you are trying to say. Did it work for you or did it not work for you?

Did it work in VCL mode?
Did it work in web mode?

For me it works in both modes. Please give more information.
  • 0

#36 Flavio

Flavio

    Active Member

  • Members
  • PipPipPip
  • 66 posts

Posted 15 June 2011 - 11:14 PM

I downloaded the latest version and it worked ... Thanks guys!
  • 0

#37 Ruben

Ruben

    Newbie

  • uniGUI Subscriber
  • Pip
  • 9 posts
  • LocationJuarez, Mexico

Posted 30 August 2011 - 05:55 PM

Demo application, as promised.

There are mainly two small things to keep in mind. Do not have the application auto create the quick report form. When you add the form, go into the project settings and remove the form from the autocreate list.
Secondly you need to disable the progressindicator from the report as it doesn't make sense in webmode. (TQuickRep.ShowProgress := False)


Thank you, how can I do to run on ISAPI?
  • 0

#38 Anders Andersen

Anders Andersen

    Advanced Member

  • Members
  • PipPipPipPip
  • 144 posts
  • LocationCopenhagen, Denmark

Posted 31 August 2011 - 08:51 AM

The problem is that you need for the IIS user to be able to access any printer service that there might exist on the system. Whether this is a matter of just giving the IIS user access to printer services, I am not sure. Also a problem might exist for virtual machines with no real printer attached to it.

I have not investigated any solution to this yet, but if I find one I will post it.
  • 0

#39 FunnyBlue

FunnyBlue

    Member

  • uniGUI Subscriber
  • PipPip
  • 12 posts

Posted 08 November 2012 - 09:31 AM

Man, it would be great if you could send me the sample code, just to place. Thanks


Hi Anders, and Flavio.

I cannot find anything on QuSoft's web site.
Could you give me an example and link to QuSoft's web site.

Thanx.

Hur
  • 0

#40 has.ashari

has.ashari

    Member

  • Members
  • PipPip
  • 12 posts

Posted 29 May 2013 - 09:32 AM

use Quick report v.5.0.5, unigui 93.xx. I can export data perfectly  to PDF with the project type to  2 (VCL Application / Standalone Server / Isapi Module).
I use this code :
 
procedure TMainForm.UniSpeedButton2Click(Sender: TObject);
var
  ViewPDF: TFormQR;
  GeneratePDF: TQRPDFDocumentFilter;
begin
 ViewPDF := TFormQR.Create(Uniapplication); // can't using self or nil
  try
    GeneratePDF := TQRPDFDocumentFilter.Create(UniServerModule.LocalCachePath + 'Coloring.pdf');
    ViewPDF.QuickRep.ExportToFilter( GeneratePDF);
    UniURLFrame1.URL := UniServerModule.LocalCacheURL + 'Coloring.pdf';
  finally
    GeneratePDF.Free;
    ViewPDF.Free;
  end;
end;
 
 
But when I do project using options to 3 (isapi module), no error, no export proceeds. I do not know why it is like this, there may be advance  who  have this kind of experience?


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users