questo è lo script
praticamente è come se non mi consideri l'uguale....anche in access....cos'è che non so?codice:if Rs("id") < 10 then if (rs("fine")>= Now()) then stato="Attiva" end if if (rs("fine")<Now()) then stato="Conclusa" end if
grazie
questo è lo script
praticamente è come se non mi consideri l'uguale....anche in access....cos'è che non so?codice:if Rs("id") < 10 then if (rs("fine")>= Now()) then stato="Attiva" end if if (rs("fine")<Now()) then stato="Conclusa" end if
grazie
Quale uguale?
Roby
www.creamweb.it [v. 3.0]
:: Script ASP!
:: Web directory gratuita!
:: Campioni del mondo!
Usa il typecasting per la data. cDate()
ho usato il cdate in questo modo....ma nessun risultato:
codice:if Rs("id") < 10 then if (rs("fine")>= cDate(Now())) then stato="Attiva" end if if (rs("fine")<cDate(Now())) then stato="Conclusa" end if
Ma in rs("fine") cosa c'è scritto?
Roby
www.creamweb.it [v. 3.0]
:: Script ASP!
:: Web directory gratuita!
:: Campioni del mondo!
hello, cDate lo devi dare su rs("fine")