I have 2 numeric values for the phone number that I want to parse as a string value if complete (formatted like 999-9999). I am trying to do this as a case statement to create a new field in the data source. When I press the NEXT button to proceed to the data display I get the "No response from server...." error. If my syntax is invalid I normally see an error and don't see the NEXT button to continue. I want to use the digits function as it will return leading zeros.
Here is the statement I am attempting;
case when (geexch > 0) then digits(geexch) || '-' || digits(gephon)
else null
end AS phone,?
Here is the statement I am attempting;
case when (geexch > 0) then digits(geexch) || '-' || digits(gephon)
else null
end AS phone,?

Comment