title: Crystal reports - Passing data from main report to subreport
body: <p>I created a crystal report and since my data had many columns, I can't display them all in a row. So, my expected result will be somehow look like this:</p>
  
  <p><strong>Date</strong>    <strong>Col1</strong>   <strong>Col2</strong>    <strong>Col3</strong> <strong>Col4</strong> <br/>
  (data) <br/></p>
  
  <p><strong>Date  Col5  Col6 Col7 Col8</strong> <br/>
  (data) <br/></p>
  
  <p>I put the first chunk of data (Date - Col4) in the main report and the second chunk in the subreport. I was able to perform the date range selection by passing the parameter from main report to subreport (the dates show in both reports). When comes to display the data, it worked well in main report, but not in subreport. I've done a testing on generating both reports with same data, main report no problem, but in subreport it displayed the last record only in all rows. I've tried with passing parameter and shared variable but still no luck. I also discovered that if I put my subreport in report header, it displayed the first record in all rows. (Initially I put my subreport in report footer)</p>
  
  <p>So, any suggestion on how to pass the data from main report to subreport (with date selection) and both reports look the same (for my testing currently)?</p>