Crystal Report - Parameter based on a formula?

I have a table that lists employee ID's, FIrstName, LastName, etc.
Other tables used in my report has the Employee ID.
The user isn't going to know the employee ID's, only their name.  

 I created a formula that displays the employee's full name.  I want the user to be able to select which employees he wants filtered in the report.  How can I achieve this?
Sue TaylorProject ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You have 2 options:
1 Create a command , which will get the list of employees' IDs and names. After that create a dynamic parameter and set the datasource to the new command

2. If employee IDs and Names are available in your report you can set them directly as datasource for your dynamic parameter. Choose value = EmployeeID and Description -= Employee Name  

Option 1 will be faster because you will get the list of Employees and then run the report for one employee. Option 2 will initially run the report for all employees and then will filter the report locally to show the information for just one of them. However if you want to use the report also offline, you will be able to do this with this option since all the data will be available.

I would prefer option 1
You can't create a parameter based on a formula.

I assume you issue is that you have employees with the same last name.

What version of Crystal?
With CR XI and later you could create a parameter that first prompts for the last name then for the first name.

How do you run the reports?

Sue TaylorProject ManagerAuthor Commented:
Yes, I have users with the same last name.

CR 2008

Ooh...I want CR XI!

The user will run the report via another program, uniPoint, which acts just like someone doing it from Crystal.
CR 2008 (ver12) is newer than CR XI (ver 11).

You should be fine with it.

You need to check if UniPoint supports cascading and dynamic parameters.  Not all applications do.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.