Solved

Turning Data into Clickable Hyperlinks

Posted on 2014-01-19
4
557 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 37

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
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.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

739 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