Question : Different parameters depending on pre-selected parameters

Hi,

I am currently developing new reports for multiple companies and their branch offices. Depending on the selected company the parameter for the branch offices shall offer different values.

Like posted in the code, when company "Examples Ltd." ist selected, the parameter branch office shall offer "OH / Columbus" and "CA / Sacramento". When company "ACME Inc." is selected, the parameter branch office shall offer "UT / Salt Lake City" and "MD / Annapolis".

If possible I would like to host the parameters in a database. the available parameters would be up to date with the database and I won't have to update the reports on each new company or branch office.

Unfortunately I don't have a clue how to do this. I tried formula fields, but the report designer won't accept fields that return arrays. I tried dynamic field values depending on data in a database, but I couldn't configure them to be dependent on another parameter.

Anybody knows how to solve this?

I am using Crystal Reports 11.5 Enterprise

Best regards and thanks,
CB
1:
2:
3:
4:
5:
6:
+- Examples Ltd.
|  +- OH / Columbus
|  +- CA / Sacramento
+- ACME Inc.
   +- UT / Salt Lake City
   +- MD / Annapolis

Answer : Different parameters depending on pre-selected parameters

Are the users selecting the first parameter or is it hardcoded so to speak?

CR XI does have dynamic parameters and the ability to choose 1 value and have "cascade" to change the values shown ffor the second parameter.

The cascading only works if the first parameter is selected from a list.

mlmcc
Random Solutions  
 
programming4us programming4us