Tema: Abecedario
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/05/2002, 18:31
Avatar de ashketchum
ashketchum
 
Fecha de Ingreso: julio-2001
Ubicación: En algun lugar de un gran pais
Mensajes: 418
Antigüedad: 23 años, 10 meses
Puntos: 0
Re: Abecedario

Seria mas o menos asi:

Primero declaras tu variable:

<%
Dim abecedario
abecedario = variableabecedario
%>

despues en el codigo SQL tiene que hacerlo mas o menos asi:

SQL = "SELECT * FROM Asesor WHERE IDAsesor = " + Replace(abecedario, "'", "''") + ""

espero que funcione

saludos y suerte

<img src="http://www.efrance.fr/masterASPx/firma.jpg" width="465" height="79" border="0" usemap="#URL">
<map name="URL">
<area shape="rect" coords="270,48,347,61" href="http://www.efrance.fr/masteraspx" target="_blank">
</map>