Hi.
How can I go about getting a pdf output?
Make your PDF program, such as Acrobat Writer, the default printer and
"print" the report with the following line of code:
DoCmd.OpenReport "rptMyReport", acViewNormal
If you are using Access 2002 or higher, then you can use code to switch the
default printers. If you are using an earlier version, check out Albert
Kallal's switch printer code on the following Web page:
http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html
If you don't already have Acrobat Writer installed, you could install a free
one, such as CutePDF, and print the report to it. Please see the following
Web page:
http://www.cutepdf.com/Products/CutePDF/writer.asp
It requries Ghost Writer (link found on that same Web page) and the printer
driver.
Other PDF writers to consider:
http://www.pdf995.com
http://www.primopdf.com
http://sourceforge.net/projects/pdfcreator
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.