Printing a report from a form for a single record

F

forest8

Hello

At the moment, I have a created a button to print a report but unfortunately
it prints out all the reports and not for a particular record.

How do I set it so that it would only print the report for the current
record selected?

Thank you in advance.
 
J

Jeff Boyce

Check Access HELP -- look for the complete syntax on the DoCmd.OpenReport
command.

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.
 
F

forest8

Hi

I'm a bit confused at this point. Do I put this into the code for my print
button or do I put it somewhere else? So far I haven't written any code for
my forms.

Thanks
 

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