jf said:
James, thanks for your reply. I looked at the reference you provided.
However, I am not sure how to do that when I am exporting from an Access
report into an Adobe pdf. Also, I have several database users that will be
exporting the report and I can't expect them to fix the links everytime.
I cannot put the hyperlinks on their own lines due to the requirements of
the report.
The reference is only useful if you are rolling your own PDF using VBA
or using other PDF creation software without using the PDF output Add-in
provided by Microsoft for Access 2007. In that case, the information in
the reference can be used to adjust how the hyperlink is created. I
often create PDF reports directly from Access without using the Add-in,
but that technique can get complicated quickly if the report contains
multiple levels of groups. Also, check to see if Stephen Lebans'
software for creating PDF reports from earlier versions of Access
succeeds with multiline hyperlinks or allows you to manipulate the PDF
commands for creating hyperlinks. You're running out of options, but
since having hyperlinks in PDF documents are desirable, I'll do some low
priority wading into multiline hyperlinks to see exactly how complicated
it is. If your report is somewhat complex and Stephen's solution
doesn't allow the creation of multiline hyperlinks, then you'll be stuck
with using the Add-in anyway even if creating multiline hyperlinks from
VBA or from using other PDF creation software turns out to feasible.
Stephen's use of the snapshot version of the report to create the PDF
turns out to be a nice compromise since reproducing report layout logic
from the report contents alone can get messy. I don't use the snapshot
so my implementation of PDF creation through VBA is limited to reports
that are not too intricate as far as groups are concerned, although I
suppose such intricacies are only a matter of extra effort. One of the
reasons I have for creating PDF files using VBA is to be able to have
Visio style capabilities so that I can convert general notes into an
electronic format. Even the Access 2007 Add-in does not change that
purpose. The code I use has the benefits cited for Stephen's software,
such as not needing to print to a PDF writer, plus it doesn't even need
the DLL files. It allows for much more varied output than from Access
reports, but requires much more work to implement.
James A. Fortune
(e-mail address removed)