title: calculating the percentage based on the number of records in the crystal reports
body: <p>In my crystal reports I have a field called "PAYMENT" it has to be displayed according to the following requirement</p>
  
  <p>REQUIREMENT</p>
  
  <p>if there is only one RECORD in detail section then it has to display,</p>
  
  <p>PAYMENT=percentage</p>
  
  <p>if there are MULTIPLE RECORDS in detail section then it has to display,</p>
  
  <p>PAYMENT=percentage+(percentage(total value)+remarks)</p>
  
  <p>can anyone please tell me how to do this?</p>