Ver Mensaje Individual
  #10 (permalink)  
Antiguo 03/10/2007, 23:24
darkmcloud
 
Fecha de Ingreso: octubre-2007
Mensajes: 191
Antigüedad: 17 años, 6 meses
Puntos: 0
Re: Busqueda Multiple En Asp

Cita:
<HTML>
<HEAD>
<%
if Session("id_usuario") = "" then
Response.Write "<SCRIPT LANGUAGE='JAVASCRIPT'>"
Response.Write "top.opener.close()"
Response.Write "</SCRIPT>"
Response.Redirect("Login.Asp")
end If
%>
<p>
<title>Buscar Cliente</title>
</head>
<body BACKGROUND ="2.jpg" bgcolor="BLACK" text="BLACK" vlink="BLACK" alink="BLACK">
<font face="verdana">
<br><br><br><br><br>
<h2><center> INGRESE CSR DE CLIENTE </center></h2>
<center>
<form name="Login" method="post" action="Scripts/validar.asp">
<table width="608" height="101" border="0" cellpadding="0" cellspacing="5" class="clsformulario">
<td width="32">CSR</td>
<td width="172"><input name="csr" style="WIDTH: 147px; HEIGHT: 22px" size=18>
</td>

<td width="32"><font face="verdana">DISTRIBUIDOR</font></td>
<td width="347"><input name="distribuidor" style="WIDTH: 147px; HEIGHT: 22px" size=18> </td>
<tr>
<td colspan="2" align="center">
<INPUT id=submit1 type=submit value=Aceptar name=submit1> </td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<BR> <a href="menu.asp" TARGET=_parent> Volver al Menu </a>
</center>
</font>
</body>
</html>
ese es el codigo de la pagina que postea los datos a validar.asp.....los campos csr y distribuidor los tengo como varchar en la bdd y los lleno escribiendo en ellos libremente

acabo de probar el codigo que escribiste.....y no me funciono...