title: Crystal report Formula issue in if statement
body: <p>I created a crystal report and I added a Formula Field (stock).<br>
  This is the formula I added to this field (Basic Syntax):</p>
  
  <pre><code>if not IsNull ({LigneBonLivraison.Quantite}) Then
      {@stock} = {Article.StockActuel} - {LigneBonLivraison.Quantite}
  else
      {@stock} = {Article.StockActuel}
  </code></pre>
  
  <p>But I get this error  "A Statement is expected here" in this line:</p>
  
  <blockquote>
    <p>{@stock} = {Article.StockActuel} - {LigneBonLivraison.Quantite}</p>
  </blockquote>
  
  <p>So how to fix it??</p>