1 2 3 4 5 6
|
SELECT T_BCO.[Référence BCO], T_BCO.[Date révision] FROM T_BCO
WHERE (((IIf(IsNull(Formulaires!F_Chercher_BCO!Filtre_Référence_BCO),True,(T_BCO.[Référence BCO]) Like ("*" & Formulaires!F_Chercher_BCO!Filtre_Référence_BCO & "*"))))
And ((IIf(IsNull(Formulaires!F_Chercher_BCO!Filtre_Date_min),True,(T_BCO.[Date révision])>=Formulaires!F_Chercher_BCO!Filtre_Date_min))
And (IIf(IsNull(Formulaires!F_Chercher_BCO!Filtre_Date_max),True,(T_BCO.[Date révision])<=Formulaires!F_Chercher_BCO!Filtre_Date_max))) )
ORDER BY T_BCO.[Référence BCO] DESC; |