Help displaying image!!

I

Isaac Sanchez

I linked an image in the past using a short coding looking something like
this.

Private Sub DisplayImage_Current()
On Error Resume Next
Dim ImageAndName As String
ImageAndName = "K:\DB\Maps\" & [DISPLAYER]
End Sub

But I cannot remember how I did it and the file it was in got lost.
I know it was just a couple lines not these long long exanples that
I am seeing.

If some one can explain this to me a little better, I like how short
this one is I just do not know what I need to put in for my db to work.
I have tried using names for my db but I just can't seem to get it.

Private Sub Form_Current()
On Error Resume Next
MyPath = "E:\Programs\CFusionMX\wwwroot\Starsigners\h5zrig1u \"
Me![ImageFrame].Picture = MyPath & Me![ImagePath]
End Sub

Private Sub ImagePath_AfterUpdate()
On Error Resume Next
MyPath = "E:\Programs\CFusionMX\wwwroot\Starsigners\h5zrig1u \"
Me![ImageFrame].Picture = MyPath & Me![ImagePath]
End Sub

Thanks in Advance.
Sorry if I seem short but I am just so frustrated with the fact that
the original db got deleted by the company idiot but even more so
that our IT guy had it on a hard dirve that DOES NOT get backed-up.
I could go on, and on, and on.....

Thanks Again!!!
 

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