PC Review


Reply
Thread Tools Rate Thread

Displaying images in Access Forms

 
 
jeh
Guest
Posts: n/a
 
      8th Jun 2010
Tbl.Main in my Access DB has 20 or so fields per record. One of the
fields is a hyperlink to a jpg file containing an image of the item
concerned. For those items for which no image is available the field
is blank. Images of dfferent items vary quite widely in size.

I want to be able to display the image in Frm.Main when the relevant
item is selected. How I should go about this? Is it possible to do
so without using VBA? Most of the info available via Google seems
quite old and far from clear. So far the best I've found (but haven't
tested) is at http://www.tek-tips.com/faqs.cfm?fid=1294, but it's also
quite old.

Currently the DB is in Access 2003 but I have Access 2007 installed,
on a Win 7 desktop PC. In the absence of another solution I'd accept
displaying the file's icon from Windows Explorer.

Any ideas anyone?

TIA John
 
Reply With Quote
 
 
 
 
jeh
Guest
Posts: n/a
 
      9th Jun 2010
On Jun 8, 9:39*pm, "Allen Browne" <AllenBro...@SeeSig.invalid> wrote:
> I you are using Access 2007, you will find the Image control has a Control
> Source property. Set this property to the full path of the jpg file, e.g.:
> * * C:\SomeFolder\SomeFile.jpg
> and it will display the image, even in a continuous form.
>
> --
> Allen Browne - Microsoft MVP. *Perth, Western Australia
> Tips for Access users -http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.


Thanks Allen. I'll not get to this before the weekend. Meanwhile,
you say "Full path". All my image links are Relative path, to enable
the whole system to be ported between computers. Is this permissible
in the Control Source Property? If it isn't I'll need to find some
other way round the problem.

John
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
displaying related images in access 2003 forms Joe Smith Microsoft Access Getting Started 2 14th Dec 2010 01:28 AM
Problem with displaying images in forms Tytus Microsoft Access Forms 2 10th Dec 2009 04:23 PM
Displaying Images in Forms =?Utf-8?B?U2FyYQ==?= Microsoft Access 1 20th Apr 2007 06:50 PM
Displaying Images on Forms =?Utf-8?B?VG9tIEdldHR5cw==?= Microsoft Access Forms 4 13th Sep 2006 06:05 PM
Problem Displaying images on forms in Access 2003 =?Utf-8?B?Q29ubmllTg==?= Microsoft Access Form Coding 9 4th Jan 2005 03:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:26 AM.