Bonjour,
Est-ce que remplacer
Par
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 Private Sub Commande24_Click() On Error GoTo Err_Commande24_Click DoCmd.GoToRecord , , acPrevious Exit_Commande24_Click: Exit Sub Err_Commande24_Click: MsgBox "Il n'y a pas d'enregistrement précédent" Resume Exit_Commande24_Click End Sub
représente un quelconque danger?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 Private Sub Commande24_Click() On Error GoTo Err_Commande24_Click DoCmd.GoToRecord , , acPrevious Exit_Commande24_Click: Exit Sub Err_Commande24_Click: Resume Exit_Commande24_Click End Sub
Partager