title: Passing Subreport Value to Main Report
body: <p>In my Report I am passing the Total of Subreport to display in the Main Report for that I am using the below Formula,</p>
  
  <p>In Subreport,</p>
  
  <pre><code>WhilePrintingRecords;
  Shared Numbervar EvTotal:= cdbl({Evaluation_Details.NOOFCOPIESEVALUATED})
  </code></pre>
  
  <p>In Main Report,</p>
  
  <pre><code>Shared NumberVar EvTotal;
  EvTotal;
  </code></pre>
  
  <p>but when I Include the Formula for displaying in the Main Report it is Dispalying "0" instead of Total of SubReport</p>