Solved

Access report w/ FollowHyperlink Links Exported to PDF

Posted on 2014-04-22
6
1,231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 84
ID: 40016178
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
ID: 40016275
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
ID: 40017102
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
ID: 40017199
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
ID: 40017264
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

749 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