Print Report Using Form's RecordsetClone

  • Thread starter Thread starter S. Jackson
  • Start date Start date
S

S. Jackson

I want to print a report that will display all the records from the form
(frmQuickListOpen) I
am launching it from. I have gotten this far and am lost:

Dim stDocName As String
Dim rst as Recordset

stDocName = "frmQuickListOpen"
Set rst = Me.RecordsetClone

DoCmd.OpenReport stDocName, acViewPreview

How do I tell the report to use rst (the form's recordsetclone) as its
RecordSource? Or am I in left field here?

TIA
S. Jackson
 
Back
Top