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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting the Parameter field to be a Lookup 1

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I have a simple report whereby I have a parameter [Param1] (that the user enters) - suppose it is the CustomerID field.
The Report selection is such that we then see all the data in a Customer table for the entered CustomerID.
The problem is that my user may not know the CustomerID off the top of their head so I want the Param1 to be a lookup against existing CustomerID fields in the table.
I've stepped through the example in the help files and can see that you can import a list (to form a lookup) against existing data entries - BUT how do I have this dynamic in the sense that if I set up this lookup today a new CustomerID entered tomorrow would not be visible for selection.
How can I make this lookup dynamic ?
Is this do-able ?
Thanks in advance
Steve
 
How about writing a small report with the customer name and id that gives your user a list before the report with the parameter is run?
 
Wit,

That is essentially how my DataLink Viewer works; It allows you to create reports that substitute for the static parameters in Crystal.

However, instead of forcing the user to remember to run the first report and then transfer values manually (which your approach would require), it's all integrated seamlessly when you run the main report.

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top