NetTalk Central

Author Topic: Progress bar generating report to be a PDF  (Read 1526 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1845
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Progress bar generating report to be a PDF
« on: April 19, 2021, 05:07:24 AM »
Hi, Im having a proceess which generates a report showing a progress bar.
Problem is that when it saves the report as PDF the progress bar is 99% but the PDF is not still generated, with many pages the user thinks its hanged.
Any way of make it better?
see pic
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: Progress bar generating report to be a PDF
« Reply #1 on: April 19, 2021, 10:35:08 PM »
Unfortunately no, although technically it depends a bit on the PDF converter engine you are using.

In all the engines, by default, there's no way to update a progress bar during the conversion process. To make that happen you would need to change code inside the engine itself - which is possible in some cases, but obviously then you'd need to do it after each engine upgrade.

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1845
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Progress bar generating report to be a PDF
« Reply #2 on: April 20, 2021, 04:10:21 AM »
I understand.
any way of display a "Converting, please wait..." till the convertion is done?
how to know when the convertion is done?
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: Progress bar generating report to be a PDF
« Reply #3 on: April 20, 2021, 08:31:29 PM »
when the conversion is done, the progress bar will move to 100% and the normal click-here, or download, or whatever will occur.

You can of course use a Display field to display any message to the user that you like.

Cheers
Bruce