title: Using ActiveReports pro 2: How to work with Subreport?
body: <p>I have a lagacy project (vb6) which has several reports (.rpx) next to the project execution file (.exe). When user executes the .exe file, it downloads the .rpx file to a specified local folder of user machine and with 'LoadLayout' statement, it gets all the .rpx report file format into a variable of type: DDActiveReports2.ActiveReport  and finally shows it.</p>
  
  <p>Now, my question is: I need to embed a subreport into the main report said about it above.
  The subreport file is in vb project <strong>NOT</strong> next to exe file. How can I make a relation between main report and the subreport and feed the subreport with a recordset based on some data the main report uses them?</p>
  
  <p>Thank you</p>