Print Single Report

coolcatkelso

Registered User.
Local time
Today, 12:32
Joined
Jan 5, 2009
Messages
279
Hiya

My report is built from these 2 forms -

Schedule & Schedule Subform

The main report is showin all the records, but on the form, I just want to be able to click a print report button and have print the record matching the single record on the form.

What am I missing?

Cheers

CCK
________
Child depakote
 
Last edited:
Something like this. There may be an extra/missing comma there. Thats off memory.

Code:
on click
docmd.openreport "Your Report name here",acpreview,,"youridfieldhere="&me.youridfield
end sub
 

Users who are viewing this thread

Back
Top Bottom