<%@ language=VBScript %>
<% option explicit %>
<%
response.expires = 0
dim i
dim dtDate
dim iYear
dim iMonth
dim sView
iYear= request.form("YEAR") & request.querystring("YEAR")
iMonth = request.form("MONTH") & request.querystring("MONTH")
sView = request.form("VW") & request.querystring("VW")
%>
<html>
<head>
<title>
<body bgcolor=
"#ffffff"><%
if LEN(sView) > 0 AND NOT (IsNumeric(iYear)) then
SELECT CASE sView
CASE "YR" 'Year detail
if (iYear < 1) or (iYear >
9999) then
end if
CASE "MN" 'Month detail
CASE ELSE
%>
<form method=
"POST" action="Lab5Solution.asp"><%
END SELECT
%>
<hr>