Private Sub Commande863_Click()
SQLString ="Select rqt All matricules].Matricule, [rqt All matricules].Nom, [rqt All matricules].Prénom, [rqt Cursus 1996-2000].[AnAcad1996(P1s1)], [rqt Cursus 1996-2000].[Session1996(P1s1)], [rqt Cursus 1996-2000].[Decision1996(P1s1)], [rqt Cursus 1996-2000].[Session1996(P1s2)], [rqt Cursus 1996-2000].[Decision1996(P1s2)], [rqt Cursus 1996-2000].[Anacad1997(P2s1)], [rqt Cursus 1996-2000].[Session1997(P2s1)], [rqt Cursus 1996-2000].[Decision1997(P2s1)], [rqt Cursus 1996-2000].[Session1997(P2s2)], [rqt Cursus 1996-2000].[Decision1997(P2s2)], [rqt Cursus 1996-2000].[AnAcad1998(P3s1)], [rqt Cursus 1996-2000].[Session1998(P3s1)], [rqt Cursus 1996-2000].[Decision1998(P3s1)], [rqt Cursus 1996-2000].[Session1998(P3s2)], [rqt Cursus 1996-2000].[Decision1998(P3s2)], [rqt Cursus 1996-2000].[AnAcad1999(P4s1)], [rqt Cursus 1996-2000].[Session1999(P4s1)], [rqt Cursus 1996-2000].[Decision1999(P4s1)], [rqt Cursus 1996-2000].[Session1999(P4s2)], [rqt Cursus 1996-2000].[Decision1999(P4s2)], _
[rqt Cursus 1996-2000].[AnAcad2000(P5s1)] _
[rqt Cursus 1996-2000].[Session2000(P5s1)] , [rqt Cursus 1996-2000].[Decision2000(P5s1)], [rqt Cursus 1996-2000].[Session2000(P5s2)], [rqt Cursus 1996-2000].[Decision2000(P5s2)], [rqt Cursus 1997-2001].[AnAcad1997(P1s1)], [rqt Cursus 1997-2001].[Mnemonic1997(P1s1)], [rqt Cursus 1997-2001].[Session1997(P1s1)], [rqt Cursus 1997-2001].[Decision1997(P1s1)], [rqt Cursus 1997-2001].[Session1997(P1s2)], [rqt Cursus 1997-2001].[DECISION1997(P1s2)], [rqt Cursus 1997-2001].[Anacad1998(P2S1)], [rqt Cursus 1997-2001].[Session 1998(P2S1)], [rqt Cursus 1997-2001].[Decision1998(P2S1)], [rqt Cursus 1997-2001].[Session1998(P2s2)], [rqt Cursus 1997-2001].[DECISION1998(P2s2)], [rqt Cursus 1997-2001].[AnAcad1999(P3s1)], [rqt Cursus 1997-2001].Session, [rqt Cursus 1997-2001].[Decision1999(P3s1)], [rqt Cursus 1997-2001].[Session1999(P3s2)], [rqt Cursus 1997-2001].[DECISION1999(P3s2)], [rqt Cursus 1997-2001].[AnAcad2000(P4s1)], [rqt Cursus 1997-2001].[Session2000(P4s1)], [rqt Cursus 1997-2001].[Decision2000(P4s1)], _
[rqt Cursus 1997-2001].[Session2000(P4s2)], [rqt Cursus 1997-2001].[DECISION2000(P4s2)], [rqt Cursus 1997-2001].[Anacad2001(P5s1)], [rqt Cursus 1997-2001].[Session2001(P5s1)], [rqt Cursus 1997-2001].[Decision2001(P5s1)], [rqt Cursus 1997-2001].Sessoion, [rqt Cursus 1997-2001].DECISION, [rqt Cursus].[AnAcad1998(P1s1)], [rqt Cursus].[Session1998(P1s1)], [rqt Cursus].[Decision1998(P1s1)], [rqt Cursus].[SESSion1998(P1s2)], [rqt Cursus].[RESULTAT1998(P1s2)], [rqt Cursus].[Pharma 2 Cote 1999].ANACAD, [rqt Cursus].[Pharma 2 Cote 1999].Session, [rqt Cursus].[Pharma 2 Cote 1999].DECISION, [rqt Cursus].[Pharma 2 cote Sess2 1999].Session, [rqt Cursus].[Pharma 2 cote Sess2 1999].DECISION, [rqt Cursus].[Pharma 3 Cote 2000].ANACAD, [rqt Cursus].[Pharma 3 Cote 2000].Session, [rqt Cursus].[Pharma 3 Cote 2000].DECISION, [rqt Cursus].[Pharma 3 Cote 2000 Sess 2].Session, [rqt Cursus].[Pharma 3 Cote 2000 Sess 2].DECISION, [rqt Cursus].[Pharma 4 cote 2001].ANACAD, [rqt Cursus].[Pharma 4 cote 2001].Session, _
[rqt Cursus].[Pharma 4 cote 2001].DECISION, [rqt Cursus].[Pharma 4 cote 2001 SESS 2].Session, [rqt Cursus].[Pharma 4 cote 2001 SESS 2].DECISION, _
[rqt Cursus].[Pharma 5 cote 2002].ANACAD, [rqt Cursus].[Pharma 5 cote 2002].Session, [rqt Cursus].[Pharma 5 cote 2002].DECISION, [rqt Cursus].[Pharma 5 COTE SESS 2 2002].Session, [rqt Cursus].[Pharma 5 COTE SESS 2 2002].DECISION, [cursus 1999-2004].[Anacad1999(P1s1)], [cursus 1999-2004].[Session1999(P1s1)], [cursus 1999-2004].[Decision1999(P1s1)], [cursus 1999-2004].[Session1999(P1s2)], [cursus 1999-2004].[Decision1999(P1s2)], [cursus 1999-2004].[Anacad2000(P2s1)], [cursus 1999-2004].[Session2000(P2s1)], [cursus 1999-2004].[Decision2000(P2s1)], [cursus 1999-2004].Session, [cursus 1999-2004].[Decision2000(P2s2)], [cursus 1999-2004].[Anacad2001(P3s1)], [cursus 1999-2004].[Session2001(P3s1)], [cursus 1999-2004].[Decision2001(P3s1)], [cursus 1999-2004].[Session2001(P3s2)], [cursus 1999-2004].[Decision2001(P3s2)], [cursus 1999-2004].[Anacad2002(P4s1)], [cursus 1999-2004].[Session2002(P4s1)], _
[cursus 1999-2004].[Decision2002(P4s1)], [cursus 1999-2004].[SESSION2002(P4s2)], [cursus 1999-2004].[DECISION2002(P4s2)], [rqt Cursus 1995-1999].[AnAcad1995(P1s1)], [rqt Cursus 1995-1999].[Session1995(P1s1)], [rqt Cursus 1995-1999].[Decision1995(P1s1)], [rqt Cursus 1995-1999].[Session 1995(P1s2)], [rqt Cursus 1995-1999].[Decision1995(P1s2)], [rqt Cursus 1995-1999].[Anacad1996(P2s1)], [rqt Cursus 1995-1999].[Session1996(P2s1)], [rqt Cursus 1995-1999].[Decision1996(P2s1)], [rqt Cursus 1995-1999].[Session1996(P2s2)], [rqt Cursus 1995-1999].[Decision1996(P2s2)], [rqt Cursus 1995-1999].[AnAcad1997(P3s1)], [rqt Cursus 1995-1999].[Session1997(P3s1)], [rqt Cursus 1995-1999].[Decision1997(P3s1)], [rqt Cursus 1995-1999].[Session1997(P3s2)], [rqt Cursus 1995-1999].[DECISION1997(P3s2)], [rqt Cursus 1995-1999].[AnAcad1998(P4s1)], [rqt Cursus 1995-1999].[Session1998(P4s1)], [rqt Cursus 1995-1999].[Decision1998(P4s1)], [rqt Cursus 1995-1999].[Session1998(P4s2)], [rqt Cursus 1995-1999].[Decision1998(P4s2)], _
[rqt Cursus 1995-1999].[AnAcad1999(P5s1)], [rqt Cursus 1995-1999].[Session1999(P5s1)], [rqt Cursus 1995-1999].[Decision1999(P5s1)], [rqt Cursus 1995-1999].[Session1999(P5s2)], [rqt Cursus 1995-1999].[Decision1999(P5s2)], Historique.Historique, [cursus 1999-2004].[AnAcad2003(P5s1)], [cursus 1999-2004].[Session2003(P5s1)], [cursus 1999-2004].[Decision2003(P5s1)], [cursus 1999-2004].[Session2003(P5s2)], [cursus 1999-2004].[DECISION2003(P5s2)], [rqt Cursus 2000-2004].[AnAcad2000(P1s1)], [rqt Cursus 2000-2004].[Session2000(P1s1)], [rqt Cursus 2000-2004].[Decision2000(P1s1)], [rqt Cursus 2000-2004].[Session2000(P1s2)], [rqt Cursus 2000-2004].[Decision2000(P1s2)], [rqt Cursus 2000-2004].[AnAcad2001(P2s1)], [rqt Cursus 2000-2004].[Session2001(P2s1)], [rqt Cursus 2000-2004].[DECISION2001(P2s1)], [rqt Cursus 2000-2004].[Session2001(P2s2)], [rqt Cursus 2000-2004].[Decision2001(P2s2)], [rqt Cursus 2000-2004].[AnAcad2002(P3s1)], [rqt Cursus 2000-2004].[Session2002(P3s1)], [rqt Cursus 2000-2004].[DECISION2002(P3s1)], _
[rqt Cursus 2000-2004].[Session2002(P3s2)], [rqt Cursus 2000-2004].[Decision2002(P3s2)], [rqt Cursus 2000-2004].[Session2003(P4s1)], [rqt Cursus 2000-2004].[Anacad2003(P4s1)], [rqt Cursus 2000-2004].[DECISION2003(P4s1)], [rqt Cursus 2000-2004].[Anacad2003(P4s2)], [rqt Cursus 2000-2004].[Session2003(P4s2)], [rqt Cursus 2000-2004].[DECISION2003(P4s2)], [rqt Cursus 2001-2005].[AnAcad2001(P1s1)], [rqt Cursus 2001-2005].[Session2001(P1s1)], [rqt Cursus 2001-2005].[Decision2001(P1s1)], [rqt Cursus 2001-2005].[Session2001(P1s2)], [rqt Cursus 2001-2005].[Decision2001(P1s2)], [rqt Cursus 2001-2005].[AnAcad2002(P2s1)], [rqt Cursus 2001-2005].[Session2002(P2s1)], [rqt Cursus 2001-2005].[DECISION2002(P2s1)], [rqt Cursus 2001-2005].[Session2002(P2s2)], [rqt Cursus 2001-2005].[DECISION2002(P2s2)], [rqt Cursus 2002-2006].[AnAcad2002(P1s1)], [rqt Cursus 2002-2006].[Session2002(1s1)], [rqt Cursus 2002-2006].[Decision2002(P1s1)], [rqt Cursus 2002-2006].[Session2002(P1s2)], [rqt Cursus 2002-2006].[RESULT2002(P1s2)], _
[rqt Cursus 2002-2006].[AnAcad2003(P2s1)][rqt Cursus 2002-2006].[Session2003(P2s1)], [rqt Cursus 2002-2006].[DECISION2003(P2s1)], [rqt Cursus 2002-2006].[Session2003(P2s2)], [rqt Cursus 2002-2006].[DECISION2003(P2s2)], [rqt Cursus 2001-2005].[AnAcad2003(P3s1)], [rqt Cursus 2001-2005].[Session2003(P3s1)], [rqt Cursus 2001-2005].[Decision2003(P3s1)], [rqt Cursus 2001-2005].[Session2003(P3s2)], [rqt Cursus 2001-2005].[DECISION2003(P3s2)] _
FROM (([rqt Cursus 2000-2004] RIGHT JOIN (((((([rqt All matricules] LEFT JOIN [rqt Cursus 1996-2000] ON [rqt All matricules].Matricule=[rqt Cursus 1996-2000].[Matricule1996-1997]) LEFT JOIN [rqt Cursus 1997-2001] ON [rqt All matricules].Matricule=[rqt Cursus 1997-2001].[AllMatricules1997-2001]) LEFT JOIN [cursus 1999-2004] ON [rqt All matricules].Matricule=[cursus 1999-2004].[Matricule 1999-2004]) LEFT JOIN [rqt Cursus] ON [rqt All matricules].Matricule=[rqt Cursus].Matricule) LEFT JOIN [rqt Cursus 1995-1999] ON [rqt All matricules].Matricule=[rqt Cursus 1995-1999].[Matricule1995-1999]) LEFT JOIN Historique ON [rqt All matricules].Matricule=Historique.Matricule) ON [rqt Cursus 2000-2004].[AllMatricule2000-2004Cursus]=[rqt All matricules].Matricule) LEFT JOIN [rqt Cursus 2001-2005] ON [rqt All matricules].Matricule=[rqt Cursus 2001-2005].[MatriculeCursus2001-2005]) LEFT JOIN [rqt Cursus 2002-2006] ON [rqt All matricules].Matricule=[rqt Cursus 2002-2006].[MatriculeCursus2002-2006] _
WHERE ((([rqt Cursus 2000-2004].[Anacad2003(P4s1)])<>""));"
Me.RecordSource = SQLString
End Sub
Partager