
28/06/2007, 16:38
|
| | Fecha de Ingreso: abril-2005
Mensajes: 1
Antigüedad: 19 años, 10 meses Puntos: 0 | |
Re: Ayuda en busqueda entre dos rangos de fechas Gracias mis hermanos fue de mucha ayuda todos sus soluciones.
yo resolvi mi problema de la siguiente manera:
sqlins = FormatoFechaSQL _
& " SELECT * " _
& " FROM IN_prod " _
& " WHERE Codigo_Empresa = " & gstProyecto _ & " AND CONVERT(VARCHAR(10),Fecha_Modificacion,112) " _
& " BETWEEN " & ' & Format(WFechaIni, "yyyymmdd") & ' _
& " AND " & ' & Format(WFechaFin, "yyyymmdd") & '
Set WRsINProd = gstCurrentADOConn.Execute(sqlins) |