Dynamic Parameter used to impelement securty in Crystal Reports 10?
Posted on 2004-09-11
Good day all,
I have been using experts-exchange for a while now, but this is my first question - so be kind.
Background: We are using Crystal Reports 8.5 and iSeries to create reports that display data from our AS/400 system.
We are getting ready to upgrade to Crystal 10 and thought this would be a good time to fix our reporting system.
Our accounting system uses different cost centers to track revenue and expenses, one cost center per account manager.
The reports we created are based on cost center as a paramter. For security reasons, each account manager is only allowed to view his or her cost center.
We created one folder per cost center on the CR server, and created a report for each folder with the cost center hard-coded in to it. We then gave each manager the right to view their particiaular folder.
This works ok - but the problem is when we need to update a report - we have to go and update each report individually - (i.e. to add an additional field). Very Tedious.
With the upgrade I thought it might be a good time to improve the report structure.
So now to my question: I was thinking of creating a table on the as-400 which contains the account manager's names and the cost center(s) they are allowed to view. I then wanted to populate the parameter list for the report at run-time with the list of their viewable cost centers. Is there a way to do this in crystal? We are using enterprise server to view the reports.
If this is not possible - maybe someone can suggest a way to implement these reports in an easier fashion.
Thank you in advance!
(wasnt sure about the point value - apologize if I am off in my estimate of the value of this question)