bonjour,
Après multiples recherches, je n'arrive toujours pas a imposer à mon bouton la fonction de vérification de date...
dans mon ctltab0, un formulaire:SFML_Contrôles, mon bouton pour rafraichir et vérifier le dépassement de date dans le sous formulaire : SFMLL_Liste_Contrôle
Je ne sais plus quoi essayer afin d'arriver au résultat
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 Private Sub Commande43_Click() If CtlTab0!Forms![SFML_Contrôles]![SFMLL_Liste_Contrôle]![nombre_de_jours_restant] <= 10 Then CtlTab0!Forms![SFML_Contrôles]![SFMLL_Liste_Contrôle]![rappel_10_j] = -1 Else CtlTab0!Forms![SFML_Contrôles]![SFMLL_Liste_Contrôle]![rappel_10_j] = 0 End If Me.Refresh If CtlTab0!Forms![SFML_Contrôles]![SFMLL_Liste_Contrôle]![nombre_de_jours_restant] <= 0 Then CtlTab0!Forms![SFML_Contrôles]![SFMLL_Liste_Contrôle]![date_controle_dépassé] = -1 CtlTab0!Forms![SFML_Contrôles]![SFMLL_Liste_Contrôle]![rappel_10_j] = 0 Else CtlTab0!Forms![SFML_Contrôles]![SFMLL_Liste_Contrôle]![date_controle_dépassé] = 0 End If Me.Refresh
Pouvez-vous m'aider
Marcmarc![]()
Partager