Post Author: RobR
CA Forum: General
Hello!
I think I phrased the subject badly, but I hope you can understand.
Using Crystal Reports XI, is there a way to allow a user either to select from a dynamically generated list of choices or to type in a value for the same report parameter?
I am modifying a report in which a parameter is set up to show the user a hard-coded list of choices. "Allow custom values" is set to True for this parameters. So, when I preview the report, I am presented with two ways of selecting this parameter, a drop-down list with the hard-coded entries and a text box in which I can type in a selection. In this case, any selection not in the drop-down list is meaningless, but I sometimes like being able to type two characters instead of using the drop-down list.
The list of choices actually matches the list of keys from one of my database tables, and I had thought that CR was generating the list from the table. I am going to change the report to base that list on the table instead of hard-coding it. But when I do that, I am not given the "Allow custom values" option any more. I would like to keep the custom value option available, since the customer I'm working for will have 300 entries in that table instead of the 20 that the previous customer had, and it is likely to be even more of a pain to search through a 300-item list than it is for a 20-item list.
Thank you very much.
Rob Richardson