i'hv designd a report,where from aspx page i m sending one parameter that is sorting criteria, like' for -by name sending 1 and for by number sending 2." from main report catching the value,upto it is ok , now for the sub report where sorting 'll occure there value is not passing from main report..Now i have tried using parameter field.how can i use the parameter field in sub report for sorting.
if the value is 1 then sorting 'll be by name.
if the value is 2 then sorting 'll be by number.
plez help me..