title: i get error in formula fields in crystal report?
body: <p>i want if x is greater than y then display the x else display nothing. here's my code</p>
  
  <pre><code>    numberVar x := sum({LedgerTbl.Debitables}) ;
      numberVar y := sum({LedgerTbl.Creditables});
      StringVar message := " ";
      if x &gt; y then
      x
      else
      message
  </code></pre>
  
  <p>but what i did always gives me an error "A Number is required here". anyone can help me out thanks in advance :D</p>