Problem with getting an image to show on a form

T

trekgoes2malaysia

I have an event procedure that runs from a list box control on a
form. Selecting an item (city) from the list box changes the contents
of other
controls in a viewable subform (textboxes, image). All the controls
in the subform change when I select a new item from the control
on my main form as expected. All except one, the image control which
is suppose to show the picture of the city selected. The problem is
that the image that shows always seems to be one image too late! I
have linked the image to a text contol on the subform that contains
the
pathname where the image file is stored on the host computer . I
have
used the After & Before update event procedures as well as the Change
one. All seem to produce the same problem. Am I just not using the
right event procedure??Any suggestions on how I can correct this. My
event procedure code is something like...

Form Name! Subform name! Image control name.picture = Form Name!
Subform name! pathname control

Thanks in advanced,
Patrick
 
T

trekgoes2malaysia

I have an event procedure that runs from a list box control on a
form.  Selecting an item (city) from the list box changes the contents
of other
controls in a viewable subform (textboxes, image).  All the controls
in the subform change when I select a new item from the control
on my main form as expected.  All except one, the image control which
is suppose to show the picture of the city selected. The problem is
that the image that shows always seems to be one image too late!  I
have  linked the image to a text contol on the subform that contains
the
pathname where the image file is stored on the host computer .  I
have
used the After & Before update event procedures as well as the Change
one.  All seem to produce the same problem.  Am I just not using the
right event procedure??Any suggestions on how I can correct this.  My
event procedure code is something like...

Form Name! Subform name! Image control name.picture = Form Name!
Subform name! pathname control

Thanks in advanced,
Patrick
 
B

bhicks11 via AccessMonster.com

Perhaps it would help if you give more information. From the link I gave you,
what did you try?

Bonnie
http://www.dataplus-svc.com

I have an event procedure that runs from a list box control on a
form.  Selecting an item (city) from the list box changes the contents
[quoted text clipped - 18 lines]
Thanks in advanced,
Patrick

--------
Thanks but the solution is still not clear to me. I can't imagine the
soultion to this to be difficult. Programmers must have images on
subforms that they are able to refresh or show to match the record
selected on the parent form. Can somebody please provide more info.
 

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