image control

A

accessuser1308

I currently have an image control on my form in access. I am using the
following code (in the On Current field for the form) to control the Image
Control:

If Not IsNull(Me.Blot) Then
Me!BlotBrowser.Picture = Me!Blot
Me!BlotBrowser.Visible = True
Else
'hide image control if no picture
Me!BlotBrowser.Visible = False
End If

Using this code when there is a link present (full link is there:
C:\Documents and Settings\Owner\Desktop\Kittie.jpg) I get an error message
stating that access cannot open the image. If, however, I replace the
"Me!Blot" in the code with the exact link (copied and pasted from the Blot
field) the picture will open. I need the BlotBrowser (Image Control) to
display the images designated in the Blot field by a hyperlink. Any
suggestions as to what is wrong would be appreciated.

Thank you
 

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

Similar Threads

Pages are changing pasted image... 0
AddPicturesToShapes 0
Cannot wrap text around an image 1
image control 1
JPEG and 300 dpi 0
Split form 0
How to paste this down? 3
open image in another program 0

Top