Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Segregation / Security

Status
Not open for further replies.

PositiveParrot

Technical User
Apr 16, 2004
19
GB
We are still relatively new to this product and have built some Crystal Reports based on a company hierarchy.

Are there any facilities to segregate the data so that e.g. some users can see only data from their part of the hierarchy?

Or do we have to build separate databases / reports for each part of the company we need to segregate?

We are on version 7.0.2. but are due to upgrade to version 10 soon.

Any help would be much appreciated.

PP
 
Hi
if you have a dabase and a table that contains the user and his hierarchy then it's easy.

Just import this table and in your format section on the report suppres x2 tab just insert your filter there
ex:

if
{UserName} = "Jeo" and {hierarchy} = "Boss" then false

so Joe will see that section else the other will not

cheers



pgtek
 
pgtek,

Thanks for the reply. How does Crystal Reports know who's viewing the report? Does it take the username on log in and store it somewhere where it can be referenced?

Regards,

PP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top