if ?Param = "1" then
{table.field1}
else if ?Param = "2" then
{table.field2}
else if ?Param = "3" then
{table.field3}
else
{table.field??} ; // a default option for improper input
MAKE SURE ALL VALUES ARE OF THE SAME TYPE!!! I usually use strings and convert numbers to strings. Using strings also allows you the option of not having a group at all....all you do here is make the "else" value a constant.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.