ESTOU TENTANDO FAZER UMA COMPARAÇÃO COM UM CAMPO DE UM BD E GUARDAR O VALOR DE OUTRO CAMPO CASO ELE SEJA VERDADEIRO EM UMA VARIAVEL, MAS AI quando TENHO VARIOS VALORES VERDADEIROS EU NÃO CONSIGO MOSTRAR OS DOIS OU MAIS!!! SEGUE O CODIGO ABAIXO??? <% Dim conexao,constr,rs,soma set conexao = createobject("AdoDb.connection") constr = "Driver={Microsoft Access Driver (*.mdb)};DBQ="& server.MapPath("bancodedados.mdb") conexao.open constr set rs = conexao.execute("SELECT * FROM requisicoes order by codigo desc") %> <% while not rs.eof %> <% if rs("entregue") = "não" then if Session("pendente") = "" then Session("pendente") = rs("serventia") & Session("pendente2") "val" if rs("entregue") = "não" then if Session("pendente2") = "" then Session("pendente2") = rs("serventia") %> <% if rs("entregue") = "não" then soma = soma + 1 %> <% rs.MoveNext Wend %> <% if Session("pendente") <> "" then response.write Session("pendente") %> <% if Session("pendente2") <> "" then response.write Session("pendente2") %> <% response.write soma%> </font> </body> </html> EM QUE ESTOU ERRANDO??? POIS SO CONSIGO MOSTRAR DOIS VALORES IGUAIS MESMO SABENDO que TENHO DOIS OU MAIS VALORES!