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
 

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