Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUPDATE database record after/just before report closes
https://www.eclipse.org/forums/index.php/mv/msg/490027/1067190/#msg_1067190
The report updates the database & displays data correctly when shown in the web viewer, but when it's exported to PDF, the report seems to execute again & RPTEXEC now equals 1, so the details of the report are no longer visible.
I have tried putting the code that updates RPTEXEC in functions fetch, beforeClose, afterClose & close, but the database update is still occuring when the report is exported to PDF.
Any idea where to put code that updates the database so it fires AFTER the report is run? Thanks so much for your suggestions! ]]>Eclipse Guest2013-07-07T12:44:32-00:00Re: UPDATE database record after/just before report closes
https://www.eclipse.org/forums/index.php/mv/msg/490027/1067483/#msg_1067483
I reread the message and saw that it's updating the database. When you are exporting to PDF are you doing this from the webviewer or the toolbar in eclipse? I'm assuming from the webviewer since you are saying that it's working there.]]>Kristopher Clark2013-07-09T03:29:41-00:00Re: UPDATE database record after/just before report closes
https://www.eclipse.org/forums/index.php/mv/msg/490027/1067577/#msg_1067577
I am exporting to PDF from the webviewer. This is when it seems to run for a 2nd time.
Thanks for your help!
Ashley]]>Eclipse Guest2013-07-09T12:18:50-00:00Re: UPDATE database record after/just before report closes
https://www.eclipse.org/forums/index.php/mv/msg/490027/1067779/#msg_1067779
Eclipse Guest2013-07-10T14:32:42-00:00