Hello All,
I'm not sure if this is possible because I haven't been able to do find a method so far. I'm using Crystal XI. We have a static parameter with manager's names. What I would like to do is filter record selection to only employees under the selected manager.
The employee and manager's user record is stored in the UserInfo table which is linked to a UserSecurity table (using UserID field). An employee record in UserSecurity has the ManagerID set to the manager's UserID.
So the lookup is not direct. It would have to be something like:
{UserSecurity.ManagerID} =
Select UserID from UserInfo Where Name = {?ManagerName}
I don't think SQL expressions are designed to support something like this. Any suggestions would be greatly appreciated.
Thanks.
I'm not sure if this is possible because I haven't been able to do find a method so far. I'm using Crystal XI. We have a static parameter with manager's names. What I would like to do is filter record selection to only employees under the selected manager.
The employee and manager's user record is stored in the UserInfo table which is linked to a UserSecurity table (using UserID field). An employee record in UserSecurity has the ManagerID set to the manager's UserID.
So the lookup is not direct. It would have to be something like:
{UserSecurity.ManagerID} =
Select UserID from UserInfo Where Name = {?ManagerName}
I don't think SQL expressions are designed to support something like this. Any suggestions would be greatly appreciated.
Thanks.