title: Repeat the subreport for each parameter in main report
body: <p>I am using crystal report for visual studio 2008,
  i want to show number of sub reports dynamically 
  i.e. depends on the main reports output, subreports would be generated, all the subreports contain same columns and rows only data is different. 
  e.g. output of my main report is like
  main report </p>
  
  <h2>no. of cities</h2>
  
  <pre><code> 3
  </code></pre>
  
  <p>subreport 1</p>
  
  <h2>city1</h2>
  
  <p>name | density </p>
  
  <p>footer subreport1</p>
  
  <p>subreport 2</p>
  
  <h2>city2</h2>
  
  <p>name | density </p>
  
  <p>footer subreport2</p>
  
  <p>subreport 3</p>
  
  <h2>city3</h2>
  
  <p>name | density </p>
  
  <p>footer subreport3</p>
  
  <p>footer main report</p>
  
  <p><img src="https://i.stack.imgur.com/T7oUo.jpg" alt="enter image description here"></p>
  
  <p>this can be achieved using grouping city name but my question is can we dynamically generate number of sub reports.
  thank you in advance. </p>