Bonjour
l'affichage dans mon tableau ne me plait pas je souhaiterais que chaque fois qu'il trouve un indicecompte différent qu'il passe à la ligne et met les infos concernant libelle et montant pour cette indicecompte.
en claire je voudrais
voici mon code ci dessous<tr>
<td><%=rstAff3("indicecompte")%></td>
<tr>
<tR>
<td bgcolor="#FFFFBB"><%=rstAff3("libelle")%></td>
<td bgcolor="#FFFFBB" align="right"><%=FormatNumber(rstAff3("montant"),2,-1,0,-1)%>€</td>
<tr>
LE RESULTAT C'EST PLUTOT A CAUSE DU DO WHILE NOT .EOF<table class="petit" align="center">
<tr>
<th bgcolor="#C0C0C0">Compte</th>
<th bgcolor="#C0C0C0">Libellé</th>
<th bgcolor="#C0C0C0">Autorisations</th>
</tr>
<% DO WHILE NOT rstAff3.EOF %>
<tr>
<td bgcolor="#FFFFBB"><%=rstAff3("indicecompte")%></td>
<td bgcolor="#FFFFBB"><%=rstAff3("libelle")%></td>
<td bgcolor="#FFFFBB" align="right"><%=FormatNumber(rstAff3("montant"),2,-1,0,-1)%>€</td>
</tr>
<%rstAff3.MoveNext LOOP%>
</table>
MERCI PAR AVANCE
<tr>
<td><%=rstAff3("indicecompte")%></td>
<td bgcolor="#FFFFBB"><%=rstAff3("libelle")%></td>
<td bgcolor="#FFFFBB" align="right"><%=FormatNumber(rstAff3("montant"),2,-1,0,-1)%>€</td>
<tr>
Partager