Solved

How populate image on a form from a hyperlink on the same form?

Posted on 2014-02-15
2
498 Views
Last Modified: 2014-02-17
I have a form which has a hyperlink field.  That hyperlink field could be either a link to a web address or a link to a folder address on the computer the database is installed on.

But what I want to have happen is on the same form, have that image appear in a "picture" box.

I don't know how to make that happen.
0
Comment
Question by:SteveL13
[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 Comments
 
LVL 16

Accepted Solution

by:
Sheils earned 250 total points
ID: 39862218
Checkout this sample db.

Download the pictures into the same folder.

NB:-

The code that makes it work is in the form oncurrent event.
I have used currentproject.Path in my code so that it works on your computer but you can hard code the actual file path. You can also enter the entire path in the table
There is no need to hyperlink
imagedb.accdb
Koala.jpg
Lighthouse.jpg
Tulips.jpg
0
 
LVL 40

Assisted Solution

by:als315
als315 earned 250 total points
ID: 39862430
You can't display images from web with image control, but you can use web browser control, but it can't auto scale images. Look at sample (place it to the same folder as se9's sample)
imagedbweb.accdb
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

623 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