Images on continuous forms (1 Viewer)

robertbwainwright

Registered User.
Local time
Yesterday, 23:48
Joined
May 2, 2012
Messages
62
I'm trying to create a continuous form with a dynamic image on it in Access 2013. I have created a text field that contains the path for the image and drop it on the form, I drop an image control on the form as well, select my text field for my image path in the control source, but no picture appears at all. I have tried change my picture type property to every type available. Am I missing something? Does this functionality even work? Please help.

thanks,
Robert
 

Ranman256

Well-known member
Local time
Today, 00:48
Joined
Apr 9, 2015
Messages
4,339
continuous forms with images will not work if you are using paths.
you must execute a LOADPICTURE function to load the image from the path.
But because its continuous the 1 photo will be in ALL records.

Tho It WILL work with the actual images in an OLE field.
 

robertbwainwright

Registered User.
Local time
Yesterday, 23:48
Joined
May 2, 2012
Messages
62
It did work Ranman. I needed to shut off "Convert All Picture data to bitmaps" in Options/current database
 

HiTechCoach

Well-known member
Local time
Yesterday, 23:48
Joined
Mar 6, 2006
Messages
4,357
continuous forms with images will not work if you are using paths.
you must execute a LOADPICTURE function to load the image from the path.
But because its continuous the 1 photo will be in ALL records.

That is true in Access 2003 and older.

This does work in the newer versions of Access. I do it all the time with Access 2010. I can't remember if was added in 2010 or 2007.

You can have a field in a table with the path to a image file. You can bind a image control to the field just like you would a textbox. Access ill display a different picture for every record in a continuous form.


Here is an example with NO VBA code required. Only a bound image control.

 

alorenzini

Registered User.
Local time
Yesterday, 21:48
Joined
Oct 16, 2007
Messages
25
Where is the sample file at? I am working on the same issue right now.
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 21:48
Joined
Oct 29, 2018
Messages
21,455
Where is the sample file at? I am working on the same issue right now.
Hi. The initial sample file I gave you worked, right? It's the one using the three sample image files you provided.
 

Users who are viewing this thread

Top Bottom