"Brian Svenningsen" <brian@e-box.dk> wrote in message
news:b8rsc3$95q$1@sunsite.dk...
> If Month(Date) >= 3 AND Month(Date) <= 3 Then
> Response.Write ??? hvordan får jeg så vist den side der i mit
> tilfælde hedder maj.asp??
>
<%
If Month(Date) = 3 Then
Response.redirect("maj.asp")
end if
%>
Du kan med fordel bruge den side der redirectes til til alle maanederne hvis
du laver denne variation
Response.redirect("maaned.asp?md=maj")
<%
Dim StrNow, strMD
StrNow = Right(Year(Now),2)
Select Case StrNow
Case "01"
strMD = "maaned.asp?md=jan"
Case "02"
strMD = "maaned.asp?md=feb"
Case "03"
strMD = "maaned.asp?md=mar"
Case "04"
strMD = "maaned.asp?md=apr"
' O.S.V
End Select
Response.redirect("strMD")
%>
--
Mvh / Regards
-=< Christian >=-
What capital has 164 letters in its name? See my web page to find out.
http://www.cmnielsen.dk ICQ: 25308942
" If something's hard to do, then it's not worth doing. Homer J. Simpson"