snikolaidis
Programmer
Hi,
I have made a report (using CR 9.2) where I use a parameter for selecting fields.
User gives a month (values 1-12, stored in a parameter named {?month}) and each row shows data from that
specific month. The select query returns all months since there are 12 different fields in each row - price01, price02.. price12.
In my code, I have created fields which have the following form:
And I use these fields in the report.
Giving one number in the beggining, the report works perfectly.
My question has to do with the possibility to use a range in the parameter (1-3, or dinstinct values 1,2,5) and create different groups, for each value of the parameter. Is this possible? How can I do it?
Thanx,
snikolaidis.
I have made a report (using CR 9.2) where I use a parameter for selecting fields.
User gives a month (values 1-12, stored in a parameter named {?month}) and each row shows data from that
specific month. The select query returns all months since there are 12 different fields in each row - price01, price02.. price12.
In my code, I have created fields which have the following form:
Code:
if {?month}=1 then price01
else if {?month}=2 then price02
else if {?month}=3 then price03
etc..
Giving one number in the beggining, the report works perfectly.
My question has to do with the possibility to use a range in the parameter (1-3, or dinstinct values 1,2,5) and create different groups, for each value of the parameter. Is this possible? How can I do it?
Thanx,
snikolaidis.