title: Crystal Reports SELECT CASE statement
body: <p>I have a switch statement in a Crystal Report that looks like this:</p>
  
  <pre><code>stringvar tag := {table1.field1};  //contains a string value
  
  select tag case
    'First Value': {table1.field3}
    'Second Value': {table4.field9}
    default: 'Unknown';
  </code></pre>
  
  <p>But when I try to save the formula, I get this error:</p>
  
  <pre><code>---------------------------
  Crystal Reports
  ---------------------------
  The remaining text does not appear to be part of the formula.
  ---------------------------
  OK   
  ---------------------------
  </code></pre>
  
  <p>And it highlights the formula beginning with the single quote before the word "Second" in my example.</p>
  
  <p>What stupid syntax error am I making?</p>