?
Solved

Hyperlink does not open image

Posted on 2014-08-12
7
Medium Priority
?
200 Views
Last Modified: 2014-08-13
Hello,

I have a field that stores a hyperlink that when we had a local server would open the picture from the link in Paint.  We have since moved this server to the cloud and I updated the hyperlink to the new server.

Example
"\\server.company.biz\folder\fileName.jpg".  If I click on the link, nothing happens.  If I paste the link into either my browser or windows explored, it opens perfect.  I went and set the server to a trusted location but that did not help either.
0
Comment
Question by:vmccune
  • 4
  • 3
7 Comments
 
LVL 85
ID: 40255748
Make sure a program is associated with the "jpg" extension, otherwise the hyperlink won't know which program to use to open those files. If this is truly in the "cloud" (i.e. SSAS, or something similar), you'd have to do that on the cloud server. If you're just storing data in the cloud, then you'd have to make the change on the machine where Access is running.
0
 

Author Comment

by:vmccune
ID: 40255757
The program is set to Paint.  It works fine if I paste the link into either a browser or windows explorer.  The only thing stored on the cloud is the picture.
0
 
LVL 85
ID: 40255783
Can you use Application.FollowHyperlink:

Application.FollowHyperlink "\\server.company.biz\folder\fileName.jpg"

If so, then you'd have to be sure that the image path is stored in a plain text field, and NOT a hyperlink field.
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 

Author Comment

by:vmccune
ID: 40255792
If it worked before, why would I need to do this now?
0
 

Author Comment

by:vmccune
ID: 40255828
Ok. this did work.  

I will change the field to a text box and run the application.followhyperlink on the click property.

How will I transfer the field value and put it between the " "'s?

Thanks.
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 total points
ID: 40256492
Just do this:

Application.FollowHyperlink Me.YourField
0
 

Author Closing Comment

by:vmccune
ID: 40258335
Perfect.  Only addendum is it also works with a hyperlink filed and does not have to be a text field.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

864 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