Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Dynamic parameter Post Reply Post New Topic
Author Message
John_Schreuder
Newbie
Newbie


Joined: 17 May 2010
Location: Netherlands
Online Status: Offline
Posts: 2
Quote John_Schreuder Replybullet Topic: Dynamic parameter
    Posted: 17 May 2010 at 4:20am
My parameter screen contains a dropdownlist which is filled with employees. so far so good, but how can I add a filter to this list, so the list will only show employees from a specific team (in the employees table there is a column named team)
 
I hope someone can help me out with this LOL
 
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 17 May 2010 at 6:40am

Change the dynamic param to cascade by first using the "Team Field" and then use the employee field under that.

IP IP Logged
John_Schreuder
Newbie
Newbie


Joined: 17 May 2010
Location: Netherlands
Online Status: Offline
Posts: 2
Quote John_Schreuder Replybullet Posted: 17 May 2010 at 8:32pm
DBlank,
 
I added the "Team Field" on the first row and the employee field on the second row, but now the user first has to select a team before he/she can select an employee. Since it is a specific report for "team A" it is not recommended that the user first has to select his own team.
 
I know that I can use a database view to solve this problem, but is it also possible to do this with Crystal Reports XI ?
 
 
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 18 May 2010 at 4:26am
I was under the assumption you wanted them to select a team and then team members. What I now think you want is to have your data limited by who is running the report (logged in user) and only show them their team members.
I have not had to do this but others have. I believe it is highly dependent on your report deployment procedure and security set up.
Likely it would also have to use a Stored Proc (or an equivalent) to pull data so that you can pass the paramater at report run time but I am not sure.
If I the above is what you are looking for try reposting asking specifically about lmiting the data (which includes dynamic params) at run time based on the logged in user and include your system set up.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.