Everything was working just fine, and now this
"Capacity exceeded on line 40" (or something like this i'm translating from portuguese).
This is what happens, i have a page that displays the results from polls on the DB, when the poll has no votes it sould display a message like "no votes yet for this poll" but it just gives me this error here's the code.
<%
line 40 --> results1 = rsRes("resp1"
/ rsRes("totalvotos"
results2 = rsRes("resp2"
/ rsRes("totalvotos"
results3 = rsRes("resp3"
/ rsRes("totalvotos"
%>
<% if rsRes("totalvotos"
= 0 or rsRes("totalvotos"
= "" then %>
<FONT SIZE="" COLOR="orange">Ainda não foram introduzidas respostas na votação seleccionada</FONT>
<% else %>
</div>
<table border="0" align="center">
<tr>
<td colspan="4"><FONT SIZE="" COLOR="orange"><%=rsRes("Assunto"
%></FONT></td>
</tr>
<tr>
<td width="35"><FONT SIZE="" COLOR="orange"><%=rsRes("Perg1"
%>:</FONT></td>
<td width="7"><img src="Imagens/amarelo.jpg" width="<%=rsRes("Resp1"
%>" height="15"></td>
<td width="20"><FONT SIZE="2" color=orange><%=FormatPercent(results1,1)%></FONT></td>
<td width="71"><FONT SIZE="2" color=orange>(<%=vtpg1%>)</FONT></td>
</tr>
<tr>
<td><FONT SIZE="" COLOR="orange"><%=rsRes("Perg2"
%>:</FONT></td>
<td><img src="Imagens/amarelo.jpg" width="<%=rsRes("Resp2"
%>" height="15"></td>
<td><FONT SIZE="2" color=orange><%= FormatPercent(results2,1)%></FONT></td>
<td><FONT SIZE="2" color=orange>(<%=vtpg2%>)</FONT></td>
</tr>
<tr>
<td><FONT SIZE="" COLOR="orange"><%=rsRes("Perg3"
%>:</FONT></td>
<td><img src="Imagens/amarelo.jpg" width="<%=rsRes("Resp3"
%>" height="15"></td>
<td><FONT SIZE="2" color=orange><%=FormatPercent(results3,1)%></FONT></td>
<td><FONT SIZE="2" color=orange>(<%=vtpg3%>)</FONT></td>
</tr>
<tr>
<td colspan="4"><FONT SIZE="" COLOR="orange">Participações: <%=rsRes("Totalvotos"
%></FONT></td>
</tr>
</table>
<% end if %>
"Capacity exceeded on line 40" (or something like this i'm translating from portuguese).
This is what happens, i have a page that displays the results from polls on the DB, when the poll has no votes it sould display a message like "no votes yet for this poll" but it just gives me this error here's the code.
<%
line 40 --> results1 = rsRes("resp1"
results2 = rsRes("resp2"
results3 = rsRes("resp3"
%>
<% if rsRes("totalvotos"
<FONT SIZE="" COLOR="orange">Ainda não foram introduzidas respostas na votação seleccionada</FONT>
<% else %>
</div>
<table border="0" align="center">
<tr>
<td colspan="4"><FONT SIZE="" COLOR="orange"><%=rsRes("Assunto"
</tr>
<tr>
<td width="35"><FONT SIZE="" COLOR="orange"><%=rsRes("Perg1"
<td width="7"><img src="Imagens/amarelo.jpg" width="<%=rsRes("Resp1"
<td width="20"><FONT SIZE="2" color=orange><%=FormatPercent(results1,1)%></FONT></td>
<td width="71"><FONT SIZE="2" color=orange>(<%=vtpg1%>)</FONT></td>
</tr>
<tr>
<td><FONT SIZE="" COLOR="orange"><%=rsRes("Perg2"
<td><img src="Imagens/amarelo.jpg" width="<%=rsRes("Resp2"
<td><FONT SIZE="2" color=orange><%= FormatPercent(results2,1)%></FONT></td>
<td><FONT SIZE="2" color=orange>(<%=vtpg2%>)</FONT></td>
</tr>
<tr>
<td><FONT SIZE="" COLOR="orange"><%=rsRes("Perg3"
<td><img src="Imagens/amarelo.jpg" width="<%=rsRes("Resp3"
<td><FONT SIZE="2" color=orange><%=FormatPercent(results3,1)%></FONT></td>
<td><FONT SIZE="2" color=orange>(<%=vtpg3%>)</FONT></td>
</tr>
<tr>
<td colspan="4"><FONT SIZE="" COLOR="orange">Participações: <%=rsRes("Totalvotos"
</tr>
</table>
<% end if %>