Hi all!
What is the best way to create a processing only report with a preview option?
I have created a report for updateing wich implies it should have it's processing only property set to "Yes". However I want the user to be able to get a preview before letting the updates be written to the database.
When the user has seen the preview and is confident that the korrect updates will be preformed he or she usualy don't need a printout.
The only thing I can come up with is to make the report processing only and add a button to the request form that when pushed launches another report that creates the preview. This is not a very elegant solution since it requiers another report object with lots of duplicated code and the sending of keystrokes to immediately make it go into preview mode.
Any ideas?
0
Comments
But maybe it is better to use a form based on a temporary table to show the possible changes to the user and add a button on that form to agree to the changes.
IF it is preview then show the user what will change, if it is not then calculate and process the report.
But the processingonly property has to be false.
|To-Increase|
So the user can decide to just run the report and see what would be changed or if the variable is true the changes are made and he can print what the report did.
But you have to start the report twice.
The OnPostReport Trigger is much better than this but our users prefer this way.