Hello,
I am trying to export a report from Access 2003 into PDF using PDFMaker. I have Adobe 8 Professional. The report has a field which is hyperlinked. So, for example, it would say "Exhibit 1" and the hyperlink goes to a website.
When I create the PDF, the hyperlinks are not carried over. The links would only work in the PDF if the clickable text was the web address itself - and, this is not even a hyperlink but just Adobe's other feature where it finds URLs and connects them to the website.
Is there a way to use javascript to make the links go from Access to PDF using the generic text as clickable (not the web address itself)? or is there any way to "fix" this using javascript after the PDF is created?
Thanks,
jen
Unfortunately it doesn't look like the Access conversion does this.
You'll have to fix it up on the Acrobat side after the conversion. If the text look like a link then you can use the "doc.addWeblinks()" function from the console window or an automation script. If this is a one time thing you're better off just adding links by hand.
If this is an on going process you can write an automation script to automatically add links by identifying key works on the PDF. There's an example in the Acrobat JavaScript Reference on the "doc.addLink" function.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script