I have a table with several fields, one of which has the path to images of employees. I have the following code inserted into the form event for "on current". It works great and changes the picture, but if the path is incorrect ( typo) I get an error and the program goes down. How do I get the error to call a default image " c:\default.gif". I am not a programmer.
Private Sub Form_Current()
[Image_employee].Picture = [path]
End Sub
Private Sub Form_Current()
[Image_employee].Picture = [path]
End Sub