place image control on the form

I

iccsi

I tried to place a image control on the form and would like to load
the image at run time.

Access always asks me to place a file there.
Are there any way to have an image control on the form without image
files?

If I can not, is it a temporary imge? I still can program the picture
at run time?


Your information is great appreciated,

Inung
 
F

fredg

I tried to place a image control on the form and would like to load
the image at run time.

Access always asks me to place a file there.
Are there any way to have an image control on the form without image
files?

If I can not, is it a temporary imge? I still can program the picture
at run time?

Your information is great appreciated,

Inung

You are storing the actual picture in a separate folder on your hard
drive? I hope!
Place ANY picture in the Image control when you add the control to the
form.
After you save the form change, delete the Image picture property.
Access will prompt you whether you want to delete the picture. Select
Yes. The Image picture property will then say "(none)".
Then using code in an appropriate form event (possibly the Form's Load
event) set the Image picture property to the correct image:
Me.ImageName.Picture = "c:\MyFolderName\PictureName.jpg"

The above will load the same picture each time.
If the picture is to be changed for each record, place the name of the
Picture in a Text datatype field. Then use, in the Form's Current
event:
Me.ImageName.Picture = "c:\MyFolderName\" & [FieldName]
 
I

iccsi

I tried to place a image control on the form and would like to load
the image at run time.
Access always asks me to place a file there.
Are there any way to have an image control on the form without image
files?
If I can not, is it a temporary imge? I still can program the picture
at run time?
Your information is great appreciated,

You are storing the actual picture in  a separate folder on your hard
drive? I hope!
Place ANY picture in the Image control when you add the control to the
form.
After you save the form change, delete the Image picture property.
Access will prompt you whether you want to delete the picture. Select
Yes. The Image picture property will then say "(none)".
Then using code in an appropriate form event (possibly the Form's Load
event) set the Image picture property to the correct image:
Me.ImageName.Picture = "c:\MyFolderName\PictureName.jpg"

The above will load the same picture each time.
If the picture is to be changed for each record, place the name of the
Picture in a Text datatype field. Then use, in the Form's Current
event:
Me.ImageName.Picture = "c:\MyFolderName\" & [FieldName]

Thanks millions for helping,
 

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