title: X++ passing current selected records in a form for your report
body: <p>I am trying to make this question sound as clear as possible.</p>
  
  <p>Basically, I have created a report, and it now exists as a menuitem button so that the report can run off the form.</p>
  
  <p>What I would like to do, is be able to multi-select records, then when I click on my button to run my report, the current selected records are passed into the dialog form (filter screen) that appears.</p>
  
  <p>I have tried to do this using the same methods as with the SaleLinesEdit form, but had no success.</p>
  
  <p>If anyone could point me in the right direction I would greatly appreciate it.</p>