Toad World® Forums

Format Case Statement not working as expected

Using Toad version 13.2.0.258 with the format option to stack the "AND and OR", but my CASE statement THEN value splits to THEN newline value. I want to keep the value on the same line as THEN. I have to use WRAP for "AND and OR", but multiple ANDs cause code to go beyond screen margins. When I change the margin to wrap statements, the same issue occurs separating THEN and value. Maybe other format options are causing this issue.

Is it possible to add a sample statement explaining what you mean?

Thanks,
Andre