I am creating a parameter to do a sort on 3 columns, with the end user having the ability to select the primary field to sort upon. I have created a formula:
If{?Sort}="B" then {All_Ideas_for_Crystal.BURUcon}
Else
if {?Sort}="S" then {All_Ideas_for_Crystal.Status}
Else{All_Ideas_for_Crystal.LocationCode}
My problem is setting "B" and "S" in the parameter so that when the user is prompted to select a sort it is returning the contents of the fields. The LocationCode is the only that will populate.
What do I need to do to get the parameter to recognize "B" and "S" as variables for their corresponding fields?
If{?Sort}="B" then {All_Ideas_for_Crystal.BURUcon}
Else
if {?Sort}="S" then {All_Ideas_for_Crystal.Status}
Else{All_Ideas_for_Crystal.LocationCode}
My problem is setting "B" and "S" in the parameter so that when the user is prompted to select a sort it is returning the contents of the fields. The LocationCode is the only that will populate.
What do I need to do to get the parameter to recognize "B" and "S" as variables for their corresponding fields?