Private Sub Form_Delete(Cancel As Integer)
If UserAccessLevel =1 Then 'If the user is an Administrator
If MsgBox("Please, confirm if you want to delete the present contract.", _
vbExclamation + vbOKCancel, "Delete Conntract") <> vbOK Then
DoCmd.CancelEvent
End if
End if