Ver Mensaje Individual
  #7 (permalink)  
Antiguo 11/11/2008, 12:27
Avatar de Adler
Adler
Colaborador
 
Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 18 años, 4 meses
Puntos: 126
Respuesta: Consulta en ASP

Hola

De acuerdo, es tal y como te dije anteriormente, solo que hay que modificar la consulta

Código asp:
Ver original
  1. sSQL="Select "&variable&" from tabla Where fecha ='" & fecha & "' and hora >= '" & aux_h_inicio &"' and hora <= '" & aux_h_fin &"'"

Fijate que no tiene comillas simples

Suerte
__________________
Los formularios se envían/validan con un botón Submit
<input type="submit" value="Enviar" style="background-color:#0B5795; font:bold 10px verdana; color:#FFF;" />