title: Suppress or write text if condition is met formula crystal reports
body: <p>I have a text object field in a subreport, where I need to evaluate value given from DB, and if that value match any of given options, that text will be written (each option has different text). Since it is in a box, I need it to be suppressed so it could look ok. 
  Something like this:</p>
  
  <pre><code>    If {MyDB.ValueId} = 1 then 'write text one'
        else (should suppress since no text is needed)
      If {My.DB.ValueId} = 2 then 'write text two'
        else (should suppress since no text is needed)
      If {My.DB.ValueId} = 2 then 'write text two'
        else (should suppress since no text is needed)
  </code></pre>
  
  <p>I wrote the formula beside suppress option, and it can not be saved since it expects boolean value (true or false, not some text).
  Any idea how to do that? Tnx in advance..</p>