Re: Image control source linked to text box as descibed by Allen Brown

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




Is your form bound to Table1?

If so, set the Control Source to just the field name (omiting the table1.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Chris" <Chris@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C867F7FF-03FF-48B6-B0CA-B725C2820DDE@xxxxxxxxxxxxxxxx
I am using Access 2007. I just read and attempted to apply the solution by
Allen Browne for making the image control on a form display the image linked
to the database via a text box which has the path name. It did not display
the image. I do not know what I am doing wrong.

I created a table [Table1] with has a textbox [field1] which has a path and
filename of the image that I want to display. When I put the image control
onto the form that is bound to [Table1] , I cancel the wizard which selects
the image from my files. I set the image control source as on the form as
=[Table1]![Field1]. I know that the path is correct because I can set
[field1] textbox in the form to be a hypelink and it will take me to the
image. Unfortunately, the image box is still blank. On the picture property
for the image contol, it is still listed as (none). I don't know if this has
something to do with this. What have I missed?

Thank you,
Chris

.



Relevant Pages