Page 1 of 1

Maintain Format CASE statment

Posted: Wed 06 Sep 2017 17:11
by DevArtForumJF
When I enter a CASE statement, I press enter at the end of each line to help with 'readability'. Example:
CASE TABLE.A
WHEN '1' THEN 'One'
WHEN '2' THEN 'Two'
ELSE 'UNKNOWN'
END AS `New A`

When I move from the text editor to the query builder, enter a filter in the query builder, when I come back to text editor the statement has been reformatted so all the text is on one line:

CASE TABLE.A WHEN '1' THEN 'One' WHEN '2' THEN 'Two' ELSE 'UNKNOWN' END AS `New A`

How can I maintain my multi-line formatting? What am I missing here?

Re: Maintain Format CASE statment

Posted: Thu 07 Sep 2017 09:55
by alexa
We will fix this issue in one of the next product builds and will notify you once it's available for downloading.