title: How to get count of records in details section using crystal report c# windows form?
body: <p>I know how to get total count of records that is displayed either in 
    Report header or Report footer by using "Summary" After right click on design
    and point to Insert then we will find.</p>
  
  <p>But when i tried to insert this into Page header or Page footer it won't 
    display at all. Now i want to display total record count for every page (Just
    place in page footer). How to do this?</p>
  
  <p>I tried below code after searching:</p>
  
  <p>In details :</p>
  
  <pre><code>whileprintingrecords; 
  numbervar x; 
  x := x +1; 
  </code></pre>
  
  <p>In page header and page footer also i have mentioned but it displays 
   whileprintrecords directly on to the report.</p>
  
  <p>Note :I have entered the above 3 lines of code in text filed. Because i don't
         know how to write the code in crystal report.</p>
  
  <p>Can you tell me? Thanks </p>