Pictures

A

Andrew C

Hi

I have a form that displays a picture from a file. and
changes to suit the dvd title i am viewing. Some of my
dvds i dont have a picture and wish no picture to be
diplayed but it displays the last picture viewed.

Currently this is the event i have got to display the
picture. Can i change it or what do i do.

Private Sub Form_Current()

On Error Resume Next

Me![ImageControlName].Picture = Me![Imagepath]

End Sub


Thanks

Andrew
 
L

Larry Linson

Create a very small image, in your form's background color, and use it for
those where you do not have a picture.

Larry Linson
Microsoft Access MVP
 

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