Yes, I am trying to select all records if {?Read_Route} = '*', but this needs to be converted to text within Select Expert.
The parameter prompt text reads “Enter Read_Route Number(s) or '*' for ALL:” due to the number of values for this field.
Parameter number value needs to be converted to text within Select Expert:
(if {?Read_Route} = '*' then {CSS_UTIL_ENVRNMT.READ_ROUTE} = {CSS_UTIL_ENVRNMT.READ_ROUTE}
else {CSS_UTIL_ENVRNMT.READ_ROUTE} = {?Read_Route})
Above returns error message that “A string is required here”
The Formula below contains a number parameter field that needs to function as a text value:
Stringvar s:=""; //a string to accumulate the parameter values
Numbervar i; // to use a counter
For i := 1 to count({?Read_Route})
step 1 do s:=s + ", "+({?Read_Route}) [i];
ProperCase(s) [3 to...
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.