Solved

Access report w/ FollowHyperlink Links Exported to PDF

Posted on 2014-04-22
6
1,166 Views
Last Modified: 2014-05-03
I have an access report with a list of text fields.  I have turned these into hyperlinks using code and an invisible field on my report:

Application.FollowHyperlink "http://www.mysite.com" & [ResourceURL], , True

This works perfectly when I view it in access.  

I'd like to be able to export this report to a PDF and keep the links active.  I could create the actual hyperlink on the report but I don't want the user to see the URL, just the title that appears in my text field.  Is this possible?
0
Comment
Question by:amy_goe
  • 3
  • 2
6 Comments
 
LVL 84
Comment Utility
I'm not sure if you can to this with the standard PDF export in Access, but then I've never tried to do it. Generally an outputted report is "static", and the user cannot interact with it.

That said, you could always try the standard "href" sort of syntax:

<A href="http:\\www.microsoft.com">Go To Microsoft<\a?

But I don't know if that would work on a PDF
0
 

Author Comment

by:amy_goe
Comment Utility
I'm not really clear on how I would use the href to export the report to a PDF.

I've come up with a work around by creating the url on the report with the font in the same color as the background and placing it as close to the bottom of the text field in as possible in a small font.  The links work in the PDF and the hand cursor pops when you hover near the text field.  Its not ideal because if you approach the text from the top with your cursor it seems to pop up the pointer a little late but its workable for now.

If anyone has any suggestions on how to do this in a more technically correct way, I'd love to hear....
0
 
LVL 84
Comment Utility
As I said, I'm not sure you can do this. The PDF option in Access is somewhat limited, and generally if you need functionality above what is provided you must work with 3rd party libraries (like the Adobe SDK).
0
 

Author Comment

by:amy_goe
Comment Utility
Yes, thanks Scott.  I don't  have the expertise to begin mucking in the adobe SDK.  And without some additional information on where to begin trying with href, I don't know what to do with that.  

I knew my request seemed like a tough one but worth asking.
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
Comment Utility
I'm not sure HREF is the right suggestion. The PDF specifications don't mention it, so I don't think it support the same set of features as, say, an HTML or RTF output.

From what I can see, the gist is this - either work with the limited feature set of the native Access PDF engine, or begin learning a 3rd party solution (like the Adobe SDK). I don't really see an alternative.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now