NetTalk Central

Author Topic: Report Performance Issue (Nettalk v8)  (Read 3197 times)

FaithWorks

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Report Performance Issue (Nettalk v8)
« on: May 15, 2016, 07:27:40 PM »
I am using Clarion 8 software. I developed a report  which runs within my Nettalk web application. The report reads from a table of 8,000 records. As the report is generating, I observed that the report would be approximately 428 pages. When the process completes, nothing happens. The browser remains blank as if a timeout occurred. Has anyone experienced this issue? If so, can you provide a solution to improve the performance?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Report Performance Issue (Nettalk v8)
« Reply #1 on: May 16, 2016, 12:05:10 AM »
Hi Ken,

There are 2 parts to making a report.
a) looping through the tables, creating the WMF pages.
b) converting the WMF pages to a PDF file.

During the first part a NOOP instruction is sent to the browser to keep the connection alive. However during the PDF conversion it's not possible to do that. Basically any conversion that takes more than 30 seconds will cause a problem, if the report is not "progressed". (*) (Aside: The tracker converter is a lot faster than the SV one, so it can do bigger reports in 30 seconds, but there is a finite limit.)

(*) There are a variety of ways of calling, and presenting a report. In the earlier NetTalk versions it was limited to just calling the report procedure, usually sending the result to a different tab. However more recent NetTalk versions support a "Start" button, with a progress bar. The result of this can be in a new tab, or indeed inside the same existing page.

The newer approach (using a progress bar) does not suffer from any timeout and so supports reports of any size. (The progress bar will "pause" during the conversion to PDF, but the process completes correctly when done.) So if you are going to deal with large reports then I recommend using this approach.
see here in the docs;
http://www.capesoft.com/docs/NetTalk9/NetWebReports.htm#ReportProgressBars

Cheers
Bruce