I am trying to get the database to display the picture of the person on the current record and if not to display the company logo.
At the moment I cant get the form to recognise the value as Null and not try and display a picture that does not exist bringing up a 2220 runtime error.
Private Sub Form_Current()
imgTxt.Value = "W:\training database\Pictures\" & SQSID & ".jpg"
If imgTxt.Value = Null Then
Pic.Picture = "W:\training database\Pictures\sqs.bmp"
Else
Pic.Picture = imgTxt.Value
End If
End Sub