Crystal 10 – SQL 2000
I want to create a parameter field that will display all of our IT Departments so the end user can select the one they want to run the report against, such as IT-Security, IT-Network, etc. about 40 in all. BUT I don’t want this to be a static list where I type in all 40 depts into the default selection list, I was hoping I could do something more dynamic such a formula field that says “ if {group.name startswith ‘IT’ then {group.name}” and then have the parameter field pull from this source.
I’m sure this has been answered in a previous post but I’m not finding it. I see stuff on creating a record selection formula such as ‘if {?group} like ‘IT-Secur*’ then…” but this leaves too much room for error if people don’t type the name correctly. Maybe I’m not using the record selection formula correctly? I just upgraded from 8 to 10 and thought for sure this option would be in 10, perhaps built right into the parameter default value page where you can place in select criteria but NOTHING has changed. Kind of aggravating.
I want to create a parameter field that will display all of our IT Departments so the end user can select the one they want to run the report against, such as IT-Security, IT-Network, etc. about 40 in all. BUT I don’t want this to be a static list where I type in all 40 depts into the default selection list, I was hoping I could do something more dynamic such a formula field that says “ if {group.name startswith ‘IT’ then {group.name}” and then have the parameter field pull from this source.
I’m sure this has been answered in a previous post but I’m not finding it. I see stuff on creating a record selection formula such as ‘if {?group} like ‘IT-Secur*’ then…” but this leaves too much room for error if people don’t type the name correctly. Maybe I’m not using the record selection formula correctly? I just upgraded from 8 to 10 and thought for sure this option would be in 10, perhaps built right into the parameter default value page where you can place in select criteria but NOTHING has changed. Kind of aggravating.