请教:我要找一个字段中第一个不等于0的数,如何写代码?
请教:我要找一个字段中第一个不等于0的数,如何写代码?
<%rs.movefirst%>
<%do while not rs.eof%>
<%if rs("t122700000") > 0 then
aa = rs("t122700000")
end if%>
<td <%=rs("t122700000")%></td>
<%rs.movenext
loop%>
这样查出来的是最后一个>0的数,那第一个>0的数怎么找?