Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien,
mais j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLmbcc.JOINDATE, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date
est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien,
mais j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLmbcc.JOINDATE, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date
est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien,
mais j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLmbcc.JOINDATE, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date
est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien, mais j'aimerais améliorer
(problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation, TBLmbcc.JOINDATE,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro = TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format aa-mm-jj)] And [Date de
fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien, mais j'aimerais améliorer
(problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation, TBLmbcc.JOINDATE,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro = TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format aa-mm-jj)] And [Date de
fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien, mais j'aimerais améliorer
(problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation, TBLmbcc.JOINDATE,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro = TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format aa-mm-jj)] And [Date de
fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Le 12/09/2020 à 17:18, albert a écrit :Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien, mais
j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format
aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname])
AS NomComplet, TBLcotisation.DateCotisation,
TBLcotisation.MontantCotisation, TBLmbcc.JOINDATE,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date est
supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour,
Essayez en remplaçant :
TBlmbcc.JOINDATE
par
iif(TBLmbcc.JOINDATE>#2019-04-01#,TBLmcc.JOINDATE,"") as JOINDATE
db
Le 12/09/2020 à 17:18, albert a écrit :
Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien, mais
j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format
aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname])
AS NomComplet, TBLcotisation.DateCotisation,
TBLcotisation.MontantCotisation, TBLmbcc.JOINDATE,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date est
supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour,
Essayez en remplaçant :
TBlmbcc.JOINDATE
par
iif(TBLmbcc.JOINDATE>#2019-04-01#,TBLmcc.JOINDATE,"") as JOINDATE
db
Le 12/09/2020 à 17:18, albert a écrit :Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien, mais
j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format
aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname])
AS NomComplet, TBLcotisation.DateCotisation,
TBLcotisation.MontantCotisation, TBLmbcc.JOINDATE,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date est
supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour,
Essayez en remplaçant :
TBlmbcc.JOINDATE
par
iif(TBLmbcc.JOINDATE>#2019-04-01#,TBLmcc.JOINDATE,"") as JOINDATE
db
Merci db
À 87 je m'en viens plus vieux qu'avant... voir à la fin
"db" a écrit dans le message de
news:5f5cf086$0$4042$Le 12/09/2020 à 17:18, albert a écrit :Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien,
mais j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLmbcc.JOINDATE, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date
est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour,
Essayez en remplaçant :
TBlmbcc.JOINDATE
par
iif(TBLmbcc.JOINDATE>#2019-04-01#,TBLmcc.JOINDATE,"") as JOINDATE
db
Il y a quelques années vous m'aviez fourni le texte suivant que j'ai
utilisé alors et aussi aujourd'hui, ce qui me fait dire que je vieilli.
Je crois que cela est de la mise en forme conditionnelle pour ACCESS.
,
Nouveaux: VraiFaux([TBLmbcc].[joinDATE]>=(Année(Date())-1) &
"-03-01";[joinDATE];Null)
Ça fait le travail. mais j'ai un nouveau problème, depuis que j'ai
ajouté cela je suis obligé d'entrer deux fois Date de début et la Date
de fin.
Quelle peut être la cause ?
Le SQL suit:
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
IIf([TBLmbcc].[joinDATE]>=(Year(Date())-1) & "-03-01",[joinDATE],Null)
AS Nouveaux, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Un grand merci
Merci db
À 87 je m'en viens plus vieux qu'avant... voir à la fin
"db" <blue_moon_frXX@hotmail.com> a écrit dans le message de
news:5f5cf086$0$4042$426a74cc@news.free.fr...
Le 12/09/2020 à 17:18, albert a écrit :
Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien,
mais j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLmbcc.JOINDATE, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date
est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour,
Essayez en remplaçant :
TBlmbcc.JOINDATE
par
iif(TBLmbcc.JOINDATE>#2019-04-01#,TBLmcc.JOINDATE,"") as JOINDATE
db
Il y a quelques années vous m'aviez fourni le texte suivant que j'ai
utilisé alors et aussi aujourd'hui, ce qui me fait dire que je vieilli.
Je crois que cela est de la mise en forme conditionnelle pour ACCESS.
,
Nouveaux: VraiFaux([TBLmbcc].[joinDATE]>=(Année(Date())-1) &
"-03-01";[joinDATE];Null)
Ça fait le travail. mais j'ai un nouveau problème, depuis que j'ai
ajouté cela je suis obligé d'entrer deux fois Date de début et la Date
de fin.
Quelle peut être la cause ?
Le SQL suit:
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
IIf([TBLmbcc].[joinDATE]>=(Year(Date())-1) & "-03-01",[joinDATE],Null)
AS Nouveaux, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Un grand merci
Merci db
À 87 je m'en viens plus vieux qu'avant... voir à la fin
"db" a écrit dans le message de
news:5f5cf086$0$4042$Le 12/09/2020 à 17:18, albert a écrit :Bonjour
J'ai un petit problème avec la requête suivante qui fonctionne bien,
mais j'aimerais améliorer (problème de pandémie):
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLmbcc.JOINDATE, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
J'apprécierais que TBLmbcc.JOINDATE, s'affiche seulement si la date
est supérieure à ">2019-04-01"
si la date est inférieure n'affiche rien.
sans affecter le reste de la requête.
Merci
Bonjour,
Essayez en remplaçant :
TBlmbcc.JOINDATE
par
iif(TBLmbcc.JOINDATE>#2019-04-01#,TBLmcc.JOINDATE,"") as JOINDATE
db
Il y a quelques années vous m'aviez fourni le texte suivant que j'ai
utilisé alors et aussi aujourd'hui, ce qui me fait dire que je vieilli.
Je crois que cela est de la mise en forme conditionnelle pour ACCESS.
,
Nouveaux: VraiFaux([TBLmbcc].[joinDATE]>=(Année(Date())-1) &
"-03-01";[joinDATE];Null)
Ça fait le travail. mais j'ai un nouveau problème, depuis que j'ai
ajouté cela je suis obligé d'entrer deux fois Date de début et la Date
de fin.
Quelle peut être la cause ?
Le SQL suit:
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS NomComplet,
TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
IIf([TBLmbcc].[joinDATE]>=(Year(Date())-1) & "-03-01",[joinDATE],Null)
AS Nouveaux, TBLcotisation.ArgentCheque, TBLcotisation.Note1,
TBLcotisation.Note2, TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Un grand merci
Bonjour,
Je ne vois pas pourquoi cette modification provoquerait la double demande
de paramètres, mais je m'interroge sur le RIGHT JOIN de la jointure.
Telle qu'elle est écrite, avec des critères sur la table en jointure
externe, il me semble que le résultat ne doit pas être différent d'une
jointure interne classique - et cette dernière serait plus rapide. Ce
serait intéressant de le vérifier.
db
Bonjour,
Je ne vois pas pourquoi cette modification provoquerait la double demande
de paramètres, mais je m'interroge sur le RIGHT JOIN de la jointure.
Telle qu'elle est écrite, avec des critères sur la table en jointure
externe, il me semble que le résultat ne doit pas être différent d'une
jointure interne classique - et cette dernière serait plus rapide. Ce
serait intéressant de le vérifier.
db
Bonjour,
Je ne vois pas pourquoi cette modification provoquerait la double demande
de paramètres, mais je m'interroge sur le RIGHT JOIN de la jointure.
Telle qu'elle est écrite, avec des critères sur la table en jointure
externe, il me semble que le résultat ne doit pas être différent d'une
jointure interne classique - et cette dernière serait plus rapide. Ce
serait intéressant de le vérifier.
db
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS
NomComplet,iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmcc.JOINDATE,"") as
JOINDATE, TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Ungrand merci
albert
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS
NomComplet,iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmcc.JOINDATE,"") as
JOINDATE, TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Ungrand merci
albert
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de
fin(Format aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " &
CapitaliserPrénom([firstname]) AS
NomComplet,iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmcc.JOINDATE,"") as
JOINDATE, TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Ungrand merci
albert
Le 13/09/2020 à 19:21, albert a écrit :PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format
aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname])
AS NomComplet,iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmcc.JOINDATE,"") as
JOINDATE, TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Ungrand merci
albert
Bonjour, Dans cette dernière requête, c'est
iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmbcc.JOINDATE,"") as JOINDATE
qu'il faut écrire (faute de frappe sur le nom de la table).
db
Le 13/09/2020 à 19:21, albert a écrit :
PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format
aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname])
AS NomComplet,iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmcc.JOINDATE,"") as
JOINDATE, TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Ungrand merci
albert
Bonjour, Dans cette dernière requête, c'est
iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmbcc.JOINDATE,"") as JOINDATE
qu'il faut écrire (faute de frappe sur le nom de la table).
db
Le 13/09/2020 à 19:21, albert a écrit :PARAMETERS [Date de début(Format aa-mm-jj)] DateTime, [Date de fin(Format
aa-mm-jj)] DateTime;
SELECT CapitaliserNom([lastname]) & ", " & CapitaliserPrénom([firstname])
AS NomComplet,iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmcc.JOINDATE,"") as
JOINDATE, TBLcotisation.DateCotisation, TBLcotisation.MontantCotisation,
TBLcotisation.ArgentCheque, TBLcotisation.Note1, TBLcotisation.Note2,
TBLcotisation.ID
FROM TBLmbcc RIGHT JOIN TBLcotisation ON TBLmbcc.Numéro =
TBLcotisation.Numéro
WHERE (((TBLcotisation.DateCotisation) Between [date de début(Format
aa-mm-jj)] And [Date de fin(Format aa-mm-jj)]))
ORDER BY TBLcotisation.DateCotisation, TBLcotisation.ID;
Ungrand merci
albert
Bonjour, Dans cette dernière requête, c'est
iif(TBLmbcc.JOINDATE>#2020-03-01#,TBLmbcc.JOINDATE,"") as JOINDATE
qu'il faut écrire (faute de frappe sur le nom de la table).
db