473,382 Members | 1,204 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Picture linking

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
3 1806
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ColinWard | last post by:
Hello again. I am trying to figure out how to link a picture to a record from code. I have figured out how to get the proper dialogue box to open but I still have to manually check off the Link...
0
by: gasturbtec | last post by:
please help im new at access programming and i just got this project dropped in my lap because the old programmer quit. i've been doing ok so far but now i need to add code to an existing database...
20
by: Greg | last post by:
I'm fairly new to access (using 2002) and am setting up a DB for work. along with each record the user also needs to make a flow diagram (previously, these reports were composed in word and they...
6
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run...
1
by: Petri | last post by:
Dear newsreaders, Access to aspx-pages can be prevented for example checking authentication cookie on page_onload part of code. But is there any way to prevent direct access to indivual files...
4
by: NASAdude | last post by:
I'm working on distributing a database using VS Tools for Office, and am having trouble with linked images on forms/reports. The image objects have a default path\file set on the .Picture property,...
6
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a...
0
by: Joseph king | last post by:
well so far the problem for me is not the linking i have a kinda good code for that. here is a little snippet of the idea that i used on an old version that split the picture without input from...
6
by: iheartvba | last post by:
Hi, I am trying to link a picture to an access report as follows: 1. The location of the Picure is stored as a hyperlink field in a table 2. The On Load Event of the report triggers the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.