J
jo152
Hi
My query does not work correctly but I really can't see the problem. What I
want to do is to count the number of times T_Details_EnFormation.NIP is
either in field EnFormation1 OR in field EnFormation2. Sometimes I get
expected result for maybe 1/4 of the lines. The remaining is wrong. Here's
what I got :
SELECT T_Details_EnFormation.NIP, Count(T_Details_EnFormation.NIP) AS
CompteNIP, T_Details_EnFormation.NbFormationRequise
FROM Horaire_FormateursBenevoles, T_Details_EnFormation
WHERE Horaire_FormateursBenevoles.EnFormation1=T_Details_EnFormation.NIP OR
Horaire_FormateursBenevoles.EnFormation2=T_Details_EnFormation.NIP
GROUP BY T_Details_EnFormation.NIP, T_Details_EnFormation.NbFormationRequise
Any help would be greatly appreciated!! Thanks in advance!
My query does not work correctly but I really can't see the problem. What I
want to do is to count the number of times T_Details_EnFormation.NIP is
either in field EnFormation1 OR in field EnFormation2. Sometimes I get
expected result for maybe 1/4 of the lines. The remaining is wrong. Here's
what I got :
SELECT T_Details_EnFormation.NIP, Count(T_Details_EnFormation.NIP) AS
CompteNIP, T_Details_EnFormation.NbFormationRequise
FROM Horaire_FormateursBenevoles, T_Details_EnFormation
WHERE Horaire_FormateursBenevoles.EnFormation1=T_Details_EnFormation.NIP OR
Horaire_FormateursBenevoles.EnFormation2=T_Details_EnFormation.NIP
GROUP BY T_Details_EnFormation.NIP, T_Details_EnFormation.NbFormationRequise
Any help would be greatly appreciated!! Thanks in advance!