title: Crystal reports syntax error
body: <p>I tried to make a simple report using the Crystal Reports for dot net.
  But it returned wrong value “5” every time.
  The correct value is “3”.
  Here is my result.</p>
  
  <pre><code>   Desktop 
     Desktop
     Laptop
     Laptop
     Laptop
  Total Laptop 5
  </code></pre>
  
  <p>And below code that I have used.</p>
  
  <pre><code>Local numberVar cnt := 0:
  Local stringVar stv  := {Table_1.Property};
  Local numberVar strLen := Count({Table_1.Property});
  Local numberVar i;
  
  For i := 1 to strLen do
  (
     If stv = “Laptop”
     Then cnt := cnt + 1
  Else cnt := cnt + 0
  );
  cnt;
  </code></pre>
  
  <p>Where was wrong this code?
  Thanks:)</p>