Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 2007 Image Control on Continuous Form

Status
Not open for further replies.

xwordmark

Programmer
Aug 19, 2009
11
ID
I have an impage control ([Image70]) bound to a field (PhotoFilePath) which is a valid file path to a picture. However, the control is blank when I load the form.

I read somewhere (I can't remember where) that I needed to put the following code in the 'Form_Current()' event of the form:

Me.Image70.Picture = Me.PhotoFilePath

Now I get and Error 2220 (the database can't load the image).

Any suggestions???
 
should not need code
thread702-1634115
 
I didn't think I needed the code - I only tried it because when I load the form there are no pictures.

I was aware of the thread you posted, but it still doesn't explain why there are no pictures being displayed when I open my form!

Any other suggestions?!?!?!?
 
In the properties, under control source what exactly do you have?
For test purposes put a text box on the form with the field that holds the path. I assume that is "photoFilePath". Post the value of this field. Is that path a complete path?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top