Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/11/2006, 11:02
Avatar de JuanRAPerez
JuanRAPerez
Colaborador
 
Fecha de Ingreso: octubre-2003
Mensajes: 2.393
Antigüedad: 21 años, 6 meses
Puntos: 27
oki aqui creo que esta el problema

tenes
Cita:
'ESTOS REQUEST.FORM SON LOS NOMBRES DE LOS CAMPOS DE FORM DE LA PAGINA ANTERIOR
if not isdate(Request.Form("mes1")) and isdate(Request.Form("year1")) and isdate(Request.Form("year2")) then
Response.Redirect "InicioPag_Mes.asp"
end if

vmes1= (Request.Form("mes1"))
vyear1= (Request.Form("year1"))
Las variables vienen de un form, pero la segunda vez cuando clikeas un enlace no van por un form entonces no hace el request correctamente

Solo usa request("variable"), si necesidad de poner .form


Cita:
'ESTOS REQUEST.FORM SON LOS NOMBRES DE LOS CAMPOS DE FORM DE LA PAGINA ANTERIOR
if not isdate(Request("mes1")) and isdate(Request("year1")) and isdate(Request("year2")) then
Response.Redirect "InicioPag_Mes.asp"
end if

vmes1= (Request("mes1"))
vyear1= (Request("year1"))
__________________
JuanRa Pérez
San Salvador, El Salvador