Print Report Using Form's RecordsetClone

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top