Solved

Turning Data into Clickable Hyperlinks

Posted on 2014-01-19
4
573 Views
Last Modified: 2014-01-20
I have a field with URLs.  It there a way for it to appear as a clickable hyperlink in Access, either on a form or when viewing the actual table/query?
0
Comment
Question by:daisypetals313
[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
  • 2
4 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39792739
<It there a way for it to appear as a clickable hyperlink>
"Appear" as click-able, ...or actually be click-able?

You can create a "Hyperlink" datatype field in Access and they will be clickable in the table and any form you make from it.

You can also insert this field into a form control and set the IsHyperlink Property to true.
You can use code like this on the controls on click event:
Application.followhyperlink txtYourHyperlinkField
http://msdn.microsoft.com/en-us/library/office/aa221236%28v=office.11%29.aspx

JeffCoachman
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 39792743
...anther note.

though using a hyperlink field does work, the Hyperlink datatype does have some issues.
(cannot convert to SQL Server, the storage method, what is displayed, ...etc)

Most developer will store this data as text, then use FollowHyperlink.

But to be fair, let's see what other experts may post.

JeffCoachman
0
 
LVL 38

Expert Comment

by:PatHartman
ID: 39792906
I don't use the Hyperlink data type because it isn't supported in SQL Server.  I set the formatting to FormatAsHyperlink = Always and use the FollowHyperlink method.   I've used it with Word, Excel, PDF, PP, etc documents as well as URL's.  To use the technique with documents, the type needs to be registered so that Windows knows what program to invoke to open the document type.  You would only have trouble with this if you had non-standard types or if for some reason you wanted something other than Excel to open an .xls/.xlsx type.
0
 

Author Closing Comment

by:daisypetals313
ID: 39795156
I tried both of these methods and they worked
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

622 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