[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1317
  • Last Modified:

Access report w/ FollowHyperlink Links Exported to PDF

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
amy_goe
Asked:
amy_goe
  • 3
  • 2
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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
 
amy_goeAuthor Commented:
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
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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
 
amy_goeAuthor Commented:
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
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now