Solved

Turning Data into Clickable Hyperlinks

Posted on 2014-01-19
4
546 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
  • 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 35

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

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.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Familiarize people with the process of utilizing SQL Server views 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 Access…
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…

809 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