Produce PDF WITH BOOKMARKS from Access 2003

G

Guest

I have Access 2003 and Acrobat professional 7.0. When previewing a report in
Access, you can use the Adobe menu to indicate you want bookmarks. Then you
can print to Adobe PDF and get a PDF of your report. But so far, I have not
been able to figure out how to get bookmarks.

In MS Word, you specify what styles should be converted to bookmarks, but in
Access there is not such option.

Has anyone figured out how to get a PDF with bookmarks?
 
S

SA

Bill:

It is a bit difficult to generate an Access report automatically to an Adobe
PDF file and to include PDF bookmarks based on groups or pages; Adobe's
wizard just doesn't support it. (Lots of reasons why, primarily based on
the fact that Access reports are image files created at run time.)

On the other hand our PDF and Mail Library, PDF Pro Plus Edition code
library for Access does provide the ability to do this at run time. It
takes a bit of VBA code strategically placed in the report calling the
Library's MarkAdd method of its MergeObjClass and subsequently calling the
MergePDFsEx Class to set the bookmarks into the PDF. It even supports
nested (child) bookmarks should you want to do those.

You can find it on our web site in the Developer Tools area.
 
G

Guest

Steve,

I checked out the referenced web site, downloaded the PDF and Mail Library,
PDF Pro Plus Edition and looked at the help file. It seems to indicate the
ability to merge multiple documents and get a bookmark for each one.

What I have is a single report that has a Report Header, a Page Header, a
Detail section, a Page Footer and a Report Footer. I need to be able to
produce bookmarks for which ever controls I choose anywhere within those
sections.

Your response seems to say I can do that, but I can find no examples. Can
you give me one: In my Detail section, I have a text box called "Project
Name" that changes with each record being printed. What code would I use to
create bookmarks for that control and where would I place it?
 
G

Guest

Steve,

I finally found the code and implemented it. What was confusing was the
concept of establishing the bookmarks, then creating the PDF using PDF
Writer, then merging the bookmarks with the PDF.
 

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