Printing Reports

J

jms7407

Hello,

I have two reports that I want to:
1) join only at printing time
2) have the joined report run 92 times based on a text field name.
3) have the report printed to pdf, if possible

Thanks
 
M

MJ

JMS,

You didn't mention which version of Access you are using and whether you
have Adobe Professional, or another PDF generating application available.

THIS ONLY APPLIES (IN PART) TO PRINTING TO PDF PART OF YOUR QUESTION:

There are several other posts out here with useful information. I will take
a stab at getting you started, with the assumption that you have Adobe and
are using Access 2003.
1. Select the report(s) you are wishing to output to PDF format, using File>
Page Setup>, on the Page tab...
a) Select radio button "Use Specific Printer"
b) Select "Printer" button and select "Adobe PDF" (or other app, if
appropriate).
If needed, setup the properties, and click OK.
c) Click OK. (This will set the default printer to be your PDF file
generation)
2. Repeat #1 for each report you need to print to (convert to) PDF on output.
3. In your code, you can use:

DoCmd.OpenReport "YourReport", acViewNormal

The database to print your report(s) using your defined default (to a
PDF file) and ask you to select where and what file name you wish to deliver
it as.

Unfortunately, I have not yet figured out a way in AC2003 where I don't have
to manually set the printer default and can't program where and what file
name to deliver it to.

While this may not be a TOTAL solution, perhaps someone else can come up
with a more correct solution. I know I would welcome it too. Good luck.
 

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