By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,275 Members | 1,311 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,275 IT Pros & Developers. It's quick & easy.

Picture linking

P: n/a
I have a form that has a bound textbox displaying a picture path (in
another folder) for an image (e.g. C:\Documents and Settings\My
Documents\My Pictures\SymbolVRC 6940.jpg). I need this actual picture
to display on the screen and most importantly to display on a report.

Any clues on this?

Thanks!

Nov 10 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In the form, add an image control. Use the form's OnCurrent event to set the
image control's .Picture property to the file path. This will allow you to
display only one picture at a time though. You do pretty much the same thing
for the report except you'll set the image control's .Picture property when
you open the report or when the form changes.

Parasyke wrote:
>I have a form that has a bound textbox displaying a picture path (in
another folder) for an image (e.g. C:\Documents and Settings\My
Documents\My Pictures\SymbolVRC 6940.jpg). I need this actual picture
to display on the screen and most importantly to display on a report.

Any clues on this?

Thanks!
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200611/1

Nov 10 '06 #2

P: n/a
What if I change records on my form? Will the new displayed path in my
textbox bring up the respective image for that new file path?

kingston via AccessMonster.com wrote:
In the form, add an image control. Use the form's OnCurrent event to set the
image control's .Picture property to the file path. This will allow you to
display only one picture at a time though. You do pretty much the same thing
for the report except you'll set the image control's .Picture property when
you open the report or when the form changes.

Parasyke wrote:
I have a form that has a bound textbox displaying a picture path (in
another folder) for an image (e.g. C:\Documents and Settings\My
Documents\My Pictures\SymbolVRC 6940.jpg). I need this actual picture
to display on the screen and most importantly to display on a report.

Any clues on this?

Thanks!

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200611/1
Nov 13 '06 #3

P: n/a
Use the form's OnCurrent event to update the image control's .Picture
property:

Me.ImageCrtl.Picture = Me.PicturePath

where PicturePath is a text control with the new record's image file path.

Parasyke wrote:
>What if I change records on my form? Will the new displayed path in my
textbox bring up the respective image for that new file path?
>In the form, add an image control. Use the form's OnCurrent event to set the
image control's .Picture property to the file path. This will allow you to
[quoted text clipped - 14 lines]
>Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200611/1
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200611/1

Nov 13 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.