Hola Gente!
Tengo una página que tiene unos campos de filtrado, entre ellos dos campos fecha. Al filtrar me muestra un reporte. Por defecto, al ingresar a la página, quiero que me muestre los campos fecha_desde (con la fecha del primer dia del mes actual) y fecha_hasta (con la fecha de hoy), pero no lo está mostrando por pantalle, pero sí está haciendo el filtrado con dichas fechas en forma correcta.
Acá les paso el código:
Código:
<%
FDESDE = Start_Date ()
FHASTA = Date()
%>
<form name="frmABM" id="frmABM" method="post" action= "revisiones_datos_consulta.asp?op=1">
<table class=width100 align=center width="88%">
<tr>
<td class=texto-regular width="13%" height="53"><p style="text-align: right">Requerimiento: </p></td>
<td width="7%" height="53"><p style="text-align: center"><input class=medio type="text" name="txtCOD_SAR" size="7" maxlength="6"></p></td>
<td class=texto-regular width="11%" height="53"><p style="text-align: right">Descripción: </p></td>
<td width="21%" height="53"><p style="text-align: center"><input class=medio type="text" name="txtDES_REVISION" size="25" maxlength="255"></p></td>
<td class=texto-regular width="7%" height="53"><p style="text-align: right">F.desde: </p></td>
<td width="11%" height="53"><p style="text-align: center"><input class=medio type="text" name="txtFECHA_DESDE" value="<%response.write(FDESDE)%>" size="10" maxlength="10"></p></td>
<td class=texto-regular width="7%" height="53"><p style="text-align: right">F.hasta: </p></td>
<td width="9%" height="53"><p style="text-align: center"><input class=medio type="text" name="txtFECHA_HASTA" value="<%response.write(FHASTA)%>" size="10" maxlength="10"></p></td>
<td width="9%" height="53"><button name="B1" type=submit>Filtrar</button></td>
</tr>
</table>
</form>
Cómo puedo hacer para que esos 2 campos fechas me los muestre por pantalla al ingresar a la misma?
Muchas gracias!