Pictures

  • Thread starter Thread starter Andrew C
  • Start date Start date
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
 
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
 
Back
Top