Ver Mensaje Individual
  #6 (permalink)  
Antiguo 16/08/2005, 15:10
Avatar de aldo1982
aldo1982
 
Fecha de Ingreso: noviembre-2004
Ubicación: Santa Fe (Argentina) Colon F.C
Mensajes: 1.362
Antigüedad: 19 años, 5 meses
Puntos: 6
hace lo siguiente:


pone un combo y cuadno se carga el formulario pones una sentencia SQL ke haga mas o menos esto

sql = "select distinc fecha from tabla"

do while not rs.eof

combo1.additem rs!fecha

rs.movenext
loop
' despues a la consulta la haces con la siguiente estructura de codigo SQL

sql = "select * from tabla where fecha = '"& combo1.text &"'

'y aca imprimis o mostras por pantalla los campos ke kieras de la tabla
-----------------------------------------------
'se entiende ???

'bue cualkier cosa posteen

ACLARACION: EN ESTE CODIGO FALTAN DECLARACIONES DE VARIABLES Y LAS CONECCIONES A LAS BASES DE DATOS.


SALU2
__________________
LA MUERTE ESTÁ TAN SEGURA DE VENCER QUE NOS DA TODA UNA VIDA DE VENTAJA