Printing based on ID

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

Guest

Hello,

I'm not sure if this is the appropriate place for this question, so I
apologize if it is not.

I have several reports in Access 2003 and they all contain a primary key
field (ID). I would like to print out one copy of each report based on this
primary key identifier (ie. print out "report A" with ID 123, "report B" with
ID 123, "report C" ...etc). Is there any way I can set up Access to do this
with any given ID that I may require?

Thanks for your help!
 
I'm not sure if this is the appropriate place for this question, so I
apologize if it is not.

Yup, you're in the right place.
I have several reports in Access 2003 and they all contain a primary key
field (ID). I would like to print out one copy of each report based on
this
primary key identifier (ie. print out "report A" with ID 123, "report B"
with
ID 123, "report C" ...etc). Is there any way I can set up Access to do
this
with any given ID that I may require?

You can have the query the reports are based on have a parameter for ID that
it uses as a criterion. Then, to run them, pass the desired value from a
control:

DoCmd.OpenReport MyReport, acViewNormal, , txtID.Text
 

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