I (Ms Access rookie) want to make a form with a subform, on the continues subform I want to display some data along with a picture.
In VBA I have:
Me![imagepath].SetFocus
Me![imageframe].Picture = Me![imagepath].Text
[imageFrame] is the name of the picture control, [imagePath] is the name
of the text field that holds the path to the jpg.
What I want is each record in the subform to show the associated
picture, what I get is all records showing the first picture.
What is the problem? How can I (easely) solve this problem?
Any suggestions would be appreciated.
(I can mail the example, I can't upload as attachment).
There was a simular question in 2007 on another forum (http://dbaspot.com/forums/ms-access/350840-display-pictures-continues-sub-form.html), but the answer was not satisfying.
I hope that someone can help me with this.
Thanks in advange.
In VBA I have:
Me![imagepath].SetFocus
Me![imageframe].Picture = Me![imagepath].Text
[imageFrame] is the name of the picture control, [imagePath] is the name
of the text field that holds the path to the jpg.
What I want is each record in the subform to show the associated
picture, what I get is all records showing the first picture.
What is the problem? How can I (easely) solve this problem?
Any suggestions would be appreciated.
(I can mail the example, I can't upload as attachment).
There was a simular question in 2007 on another forum (http://dbaspot.com/forums/ms-access/350840-display-pictures-continues-sub-form.html), but the answer was not satisfying.
I hope that someone can help me with this.
Thanks in advange.