Use form results to populate report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Good morning,

I am trying to figure out how to 'tranfer' the records displayed on a form
(user control filter parameters) to populate a report so that they can get a
hardcopy of th reaults.

So far I only managed to get the first record in the report and I need all
of the records?!

Thank you for the help,

Daniel
 
Use the Where arguement of the OpenReport method. Set the Where criteria to
be the same as the currently selected filter of the form.

Docmd.OpenReport "SomeReport", , , Me.Filter
 
Back
Top