1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| Private Sub Commande62_Click()
If Me.quickseak.Value = 1 Then
Form_HOME.ACTUALISATION.Visible = True
Form_HOME.ACTUALISATION.SetFocus
Form_HOME.MENU.Visible = False
Dim rec As Recordset
Set rec = Form_HOME.ACTU.Form.Recordset
rec.FindFirst ("Réfdossier =" & Me.Texte63.Value)
Set rec = Nothing
Else
MsgBox "Veuillez sélectionner un critère de recherche", vbInformation + vbOKOnly, "AVERTISSEMENT"
If Me.quickseak.Value = 2 Then
Form_HOME.ACTUALISATION.Visible = True
Form_HOME.ACTUALISATION.SetFocus
Form_HOME.MENU.Visible = False
Set rec = Form_HOME.ACTU.Form.Recordset
rec.FindFirst ("Réfmandat =" & Me.Texte63.Value)
Set rec = Nothing
Else
MsgBox "Veuillez sélectionner un critère de recherche", vbInformation + vbOKOnly, "AVERTISSEMENT"
If Me.Texte63.Value = "" Then
MsgBox "Veuillez entrer une référence.", vbInformation + vbOKOnly, "AVERTISSEMENT"
End If
End If
End If
End Sub |
Partager