Button to print current page

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

Guest

I need to place a button on a form that prints only the current page. Can
anyone help?
 
The best way to approach this is to create a report based on the information
source used for the form. then set up the button to print the report while
adding the criteria of your current record as a filter 9so it only prints the
current record.

Your button can use code similar to:

DoCmd.OpenReport "YourReportName", acViewPreview, ,
"[ReportRecordIDFieldName]=" &
[FormRecordIDControlName]

If you google groups this subject you'll get tons more info.

Daniel
 

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

Back
Top