Bonjour,
je veux mettre dans ma requete une condition sur le contenu d'un champ de formulaire.
J'ai utilisé l'assistant mais le code obtenu en SQL ne marche pas...![]()
Le contenu de ma cmb box est du texte...
[b]WHERE (((magasin.nom_magasin)=[Forms]![tdb_magasin]![cmb_nom]
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 TRANSFORM Last(definition_etat.nom_etat) AS LastOfnom_etat SELECT magasin.nom_magasin FROM tache INNER JOIN (magasin INNER JOIN (definition_etat INNER JOIN etat_tache ON definition_etat.id_etat = etat_tache.id_etat) ON magasin.id_magasin = etat_tache.id_magasin) ON tache.Id_tache = etat_tache.id_tache
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 GROUP BY magasin.numero_vague, magasin.nom_magasin ORDER BY magasin.numero_vague PIVOT tache.numero_tache;
Partager