Update an image control on a form

M

Martin

Hi,

I currently have an image control on a form that shows
JPG images based upon a path in a text box. If I change
the path in the text box to point to a different image
the image control does not update until I change records.

I've tried using the forms requery method, however this
requeries all of the data returning the form back to the
first record.

Any help will be great

Martin
 
M

Miles

Sorry not to help you but have been trying to do that
myself (for thumbnails). Would you be willing to tell me
your code - have a form with a thumbnail field and a text
box below but can not link the latter to drive the
former. Was trying to code a standard folder path (e.g.
to a folder called Thumbnails), with only the .gif name in
the text box. Needless to say, it doesn't yet work for
me, let alone the refresh issue!
 
S

Sandra Daigle

What code are you using? This works for me:

Private Sub txtMyPicturePath_AfterUpdate()
Me.Image2.Picture = Me.txtMyPicturePath
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top