flaviowmf Posted May 27, 2011 Share Posted May 27, 2011 there is the possibility of implementing reports in QuickReport with uniGui? For I have prepared some reports on other software and would like to use them Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 there is the possibility of implementing reports in QuickReport with uniGui? For I have prepared some reports on other software and would like to use them Export your reports to PDF file and show them in a TUniURLFrame. Link to comment Share on other sites More sharing options...
flaviowmf Posted May 27, 2011 Author Share Posted May 27, 2011 because the problem is just that when I say that this export the report in another form, the server crashes. What would be the way to implement this correctly? I've tried putting both the QuickReport form uniGui qndo on Form VCL and two ways are catching the server. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 because the problem is just that when I say that this export the report in another form, the server crashes. What would be the way to implement this correctly? I've tried putting both the QuickReport form uniGui qndo on Form VCL and two ways are catching the server. Well, you reporting tool must support running in a multi threaded environment. I haven't used QuickReport much so I'm not sure what options are available for it. Link to comment Share on other sites More sharing options...
flaviowmf Posted May 27, 2011 Author Share Posted May 27, 2011 I can use any VCL component along with uniGUI? because we did not know QuickReport report. if you can do some tests on assunder and so have a position I would appreciate it. Thanks. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 Visual QuickReport VCL components can't be used in uniGUI and likely they will crash. What is your Delphi and QR version? Link to comment Share on other sites More sharing options...
flaviowmf Posted May 27, 2011 Author Share Posted May 27, 2011 Delphi 2009 QuickReport : 5.05 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 Is QR an integrated part of Delphi or do you install it separately? Link to comment Share on other sites More sharing options...
flaviowmf Posted May 27, 2011 Author Share Posted May 27, 2011 been installed separately Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 Can you give me link for most recent version? Link to comment Share on other sites More sharing options...
flaviowmf Posted May 27, 2011 Author Share Posted May 27, 2011 http://www.quickreport.co.uk/ Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 As far as I can see QuickReports is not OK with multi-threaded use. I will try to make some tests with it. The best way is to run QuickReport application as a separate process and communicate with it using some inter-process comm methods. Link to comment Share on other sites More sharing options...
flaviowmf Posted May 27, 2011 Author Share Posted May 27, 2011 Ok, so this cominicação between software, as I do for my web application to access the generated PDF? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 You will send a command to QuickReport app and it will generate the report and save it in a file. uniGUI app will show this file in a urlFrame. Link to comment Share on other sites More sharing options...
thecrgrt Posted May 27, 2011 Share Posted May 27, 2011 As far as I can see QuickReports is not OK with multi-threaded use. I will try to make some tests with it. The best way is to run QuickReport application as a separate process and communicate with it using some inter-process comm methods. Hi Farshad, Is it possible to create thread-safe with SynObject to workaround? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 27, 2011 Administrators Share Posted May 27, 2011 By using CriticalSection you can force some portion of code to run in a single thread at a time but it won't make it thread-safe. Components like QR aren't designed with multi-threading in mind so there is no guarantee that they will work in a threaded app. Link to comment Share on other sites More sharing options...
flaviowmf Posted May 27, 2011 Author Share Posted May 27, 2011 Dude I am new in this process, how do I open a PDF in urlFrame? what would be the right syntax to the web client view the file? Excuse the ignorance ... rsrsr Link to comment Share on other sites More sharing options...
thecrgrt Posted May 28, 2011 Share Posted May 28, 2011 Dude I am new in this process, how do I open a PDF in urlFrame? what would be the right syntax to the web client view the file? Excuse the ignorance ... rsrsr You just only create PDF file in the path that you specific and copy the path + report-name.pdf to URLFrame, the download demo of UniGUI can help you for that. Link to comment Share on other sites More sharing options...
andersa@ellenshoej.dk Posted May 28, 2011 Share Posted May 28, 2011 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. Link to comment Share on other sites More sharing options...
flaviowmf Posted May 28, 2011 Author Share Posted May 28, 2011 Man, it would be great if you could send me the sample code, just to place. Thanks Link to comment Share on other sites More sharing options...
andersa@ellenshoej.dk Posted May 30, 2011 Share Posted May 30, 2011 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) QrDemo.zip Link to comment Share on other sites More sharing options...
WildFrag Posted May 30, 2011 Share Posted May 30, 2011 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. Link to comment Share on other sites More sharing options...
andersa@ellenshoej.dk Posted May 30, 2011 Share Posted May 30, 2011 Use FastReport, normal work with unigui. So does quickreport. Link to comment Share on other sites More sharing options...
cristianotestai Posted May 30, 2011 Share Posted May 30, 2011 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 30, 2011 Administrators Share Posted May 30, 2011 Hi, Do you can send for me too? Tks The attached example is 4 messages above. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now