VBA Requête SQL sur les dates à partir d'un evenement sur formulaire
Fermé
barto107
-
Modifié le 24 mars 2021 à 17:11
yg_be Messages postés 22697 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 18 avril 2024 - 24 mars 2021 à 18:15
yg_be Messages postés 22697 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 18 avril 2024 - 24 mars 2021 à 18:15
A voir également:
- VBA Requête SQL sur les dates à partir d'un evenement sur formulaire
- La requête graphql n’est pas autorisée - Forum Facebook Messenger
- Trouver un nom à partir d'une adresse ✓ - Forum Loisirs / Divertissements
- Recherche a partir dune photo - Guide
- Vba l'indice n'appartient pas à la sélection - Forum VB / VBA
- Annuaire portable gratuit a partir d'un nom ✓ - Forum Mobile
1 réponse
yg_be
Messages postés
22697
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
18 avril 2024
1 471
24 mars 2021 à 18:15
24 mars 2021 à 18:15
bonjour,
peut-être:
sinon
peut-être:
DoCmd.OpenForm "F_inscriptions", , , _ "[Identifiant]='" & Me.Identifiant & "'" _ & " And [Intitulé formation]='" & Me.Intitulé_formation & "'" _ & " And [Date de début] = " & cstr(clng(int(Me.Date_de_début)))
sinon
DoCmd.OpenForm "F_inscriptions", , , _ "[Identifiant]='" & Me.Identifiant & "'" _ & " And [Intitulé formation]='" & Me.Intitulé_formation & "'" _ & " And format([Date de début],'yyyymmdd') = " _ & format(Me.Date_de_début, "yyyymmdd")