Use form results to populate report

D

Daniel

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
 
K

Klatuu

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
 
Top