Oui, exact, petite erreur de ma part... Il doit y avoir ce fameux Plan_N à la place du 1
Ma requête actuelle :
1 2 3 4 5 6 7 8 9
| SELECT "<cstyle:04.1\_no\_plan>" & (SELECT COUNT(Nom_restaurant_1) FROM tblGM_Actu WHERE Nom_restaurant_1 < tblGM_Actu.Nom_restaurant_1)+1 & "<0x2002>" AS Plan_N,
"<cstyle:><0x0009>" & tblGM_Actu.Nom_restaurant_1 & ", " & tblGM_Actu.Nom_restaurant_2 & "<0x0009>" AS Nom,
"<cstyle:04.2\_note>" & tblGM_Actu.Note_actu & "<cstyle:><0x0008>" AS NoteGM,
tblGM_Actu.Localite_adresse,
"<catyle:04.3\_page>00<cstyle>" AS Page
FROM tblGM_Actu
WHERE (((tblGM_Actu.Localite_adresse) Like 'Bern*') AND ((tblGM_Actu.Code_postal_adresse) Like '30*')); |
J'ai maintenant les colonnes correctes :
Plan_N - Nom - Note - Localité - Page
Mais ma colonne "Plan_N" reste à 1 tout du long.
Dans ma requête, c'est le :
WHERE Nom_restaurant_1 < tblGM_Actu.Nom_restaurant_1)+1
que je ne comprend pas vraiment
Partager