Solved

Dynamic Parameter used to impelement securty in Crystal Reports 10?

Posted on 2004-09-11
2
228 Views
Last Modified: 2008-03-10
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)

0
Comment
Question by:AnnePep
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Accepted Solution

by:
Kurt Reinhardt earned 100 total points
ID: 12035445
Unfortunately, parameters aren't dynamic.  Based on your post, it doesn't look like you're using Crystal Enterprise.  If you use CE10, then you can create Business Views which will allow you to create a single report with permissions attached.  The permissions allow you to implement row and/or column security so that all users can view the same report, but only see the data that pertains to them.

Another option is to check out third-party products, many of which are substantially less expensive than Crystal Enterprise.  Ido Millet has created an application calld 'Data Link Viewer' (http://www.milletsoftware.com).  Also check out a variety of other third-party products at http://www.kenhamady.com.

~Kurt
0
 
LVL 23

Assisted Solution

by:Ido Millet
Ido Millet earned 25 total points
ID: 12040558
Yes, DataLink Viewer can automatically feed the Windows user_id to a (properly named) parameter in your report.
From there it is an easy matter to restrict records to only those that "belong" to that user_id.

Using just Crystal, you could also achieve a similar objective by storing your own user_id & password columns in the "Acct_Mgr" table, and prompting the user for that infomration.

hth,
- Ido
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question