- Gary Eden
- PowerBuilder
- Wednesday, 27 March 2019 02:57 PM UTC
Hi,
I thought I would mention an issue that I seem to have picked up between development and live environment.
I have a 100 page report and I perform the SaveAs PDF using native pdf, this works fine in development and produces a 100 page pdf report. In the live environment the report can be any size and occasionally manages to be the correct size. Checking the return code for the incomplete pdf's I get a -1 which indicates a failure however I don't get these failures within the development environment. The live environment happens to be cloud based and the client remote desktops onto the server to run the application.
The worse part of it is that the user is sitting with a partial PDF file that we can inform them is incomplete but would definitely be better if the SaveAs code cleaned up when it detected a failure, also the partial pdf file is viewable within Adobe.
It would also be nicer if the user is not presented with the actual pdf file and the emf as it is creating the pdf, if this was done in memory would it not also speed the process up? maybe part of the problem is the disk access within a cloud environment hence the high failure rate?
Thanks
Gary Eden
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.