
25/05/2008, 01:34
|
Colaborador | | Fecha de Ingreso: enero-2008 Ubicación: Unas veces aquí, otras veces allí
Mensajes: 1.482
Antigüedad: 17 años, 3 meses Puntos: 37 | |
Respuesta: Consulta con fechas Hola,
pásale los valores fecha en formato americano: adostock.RecordSource = "select * from stock where sto_tip=1 and sto_fin= #" & Format(maskfecha.Text, "mm/dd/yyyy") & "#" adostock.RecordSource = "select * from stock where sto_tip = 1 and sto_fin Between #" & Format(maskfechai.Text, "mm/dd/yyyy") & "# And #" & Format(Maskfechaf.Text, "mm/dd/yyyy") & "#" |