Option Explicit
DoCmd.Close
Exit_Annuler_Click:
Exit Sub
Err_Annuler_Click:
MsgBox Err.Description
Resume Exit_Annuler_Click
End Sub
Exit Sub
DéfinirDate_Error:
MsgBox Err.Description
Exit Sub
End Sub
End Sub
Private Sub Form_Load()
' Utilisé par Solutions du développeur pour renvoyer des enregistrements pour exemple.
' Entrez les paramètres [Date début] et [Date fin] quand le formulaire est chargé.
Me!SélectionnerDate = #6/12/2012#
Me![Date début] = #6/12/2012#
Me![Date fin] = #6/20/2012#
End Sub
' Utilisé par Solutions du développeur pour ouvrir la rubrique Montrez-moi pour l'état.
If EstChargé("Solutions du développeur") Then
If Forms![Solutions du développeur]![Montrez-moi] Then
AfficherAideAPI
End If
End If
Exit_Aperçu_Click:
Exit Sub
Err_Aperçu_Click:
If Err = conErrÉtatAnnulé Then
Resume Exit_Aperçu_Click
Else
MsgBox Err.Description
Resume Exit_Aperçu_Click
End If
End Sub
Exit_Imprimer_Click:
Exit Sub
Err_Imprimer_Click:
If Err = conErrÉtatAnnulé Then
Resume Exit_Imprimer_Click
Else
MsgBox Err.Description
Resume Exit_Imprimer_Click
End If
End Sub