Parameter:
Department
Values Description
0 All
1 Dep1
2 Dep2
I want to display the description now I am displaying
the value but that is not descriptive enough. I don't want
to do it from a case statement because I will have to
update the report everytime a new department is added.
*************CODE*****************************
global numbervar counter;
//increments the loop so that all parameter entries can be displayed
global stringvar display;
//creates a string "running total" so that all entries can be displayed
for counter := 1 to count({?Department}) do
(
display := display + totext({?Department}[counter],0,"") + chr(10);
);
display;
Department
Values Description
0 All
1 Dep1
2 Dep2
I want to display the description now I am displaying
the value but that is not descriptive enough. I don't want
to do it from a case statement because I will have to
update the report everytime a new department is added.
*************CODE*****************************
global numbervar counter;
//increments the loop so that all parameter entries can be displayed
global stringvar display;
//creates a string "running total" so that all entries can be displayed
for counter := 1 to count({?Department}) do
(
display := display + totext({?Department}[counter],0,"") + chr(10);
);
display;