Put a original stamp on reports
Hi,
I have started to build a end-user module to add to my application.
The reports will be stored in a table..
If we deliver "master" reports with the application is there any method to
mark them as original reports so when a end-user come back to us
complaining that a report don't show correct figures or don't work as
expected we can see in the printout or somewhere else if it is a modified
report?
One thing popping up in my mind is if we could mark them on the fly when
they are printed depending on a report id or similar..
Any thoughts?
/Ronny
I have started to build a end-user module to add to my application.
The reports will be stored in a table..
If we deliver "master" reports with the application is there any method to
mark them as original reports so when a end-user come back to us
complaining that a report don't show correct figures or don't work as
expected we can see in the printout or somewhere else if it is a modified
report?
One thing popping up in my mind is if we could mark them on the fly when
they are printed depending on a report id or similar..
Any thoughts?
/Ronny
This discussion has been closed.
Comments
One way to implement this is to prevent the user from saving reports to a
"Master" folder. Below is an example that implements this technique.
http://www.digital-metaphors.com/tips/EndUserPreventSaveToMaster.zip
If you are not using the ReportExplorer and associated rbFolder, rbItem
tables, you could still implement something similar. You could add a
datafield to the reports table that designates certain reports as master
report and then disallow modification of those report. You can use the
Report.Template.OnSaveEnd and OnLoadEnd events to store and load the custom
information to appropriate data fields for the record. (This is the
technique used by the ReportExplorer.)
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Works great.
"Tech-tips" is a gold mine as well.
/Ronny