Kod:
Private Sub ResimSil_Click()
If Me.ResimCercevesi.Picture = "(Yok)" Then
MsgBox "Silinecek Dosya Bulunamadı"
Else
Dim kayit As Integer
kayit = Me.sno
Kill CurrentProject.Path & "/resim/" & Me.adi_soyadi.Value & "-" & Me.tcno & ".jpg"
Me.Requery
DoCmd.GoToRecord acForm, "bilgiler", acGoTo, kayit
End If
End Sub