M
maha
following asp script has an error please correct it
<%
function checkqty()
if (frmstoadd.text1.value="") then
MsgBox("ENTER THE QUANTITY")
frmstoadd.text1.focus()
elseif (IsNumeric(frmstoadd.text1.value)) then
if ((frmstoadd.text1.value)<>(cint(frmstoadd.text1.value))) then
MsgBox("QUANTITY SHOULD BE IN INTEGER")
frmstoadd.text1.focus()
end if
elseif not (IsNumeric(frmstoadd.text1.value)) then
MsgBox("QUANTITY SHOULD BE IN NUMERIC")
frmstoadd.text1.focus()
end if
end function
%>
<%
function checkqty()
if (frmstoadd.text1.value="") then
MsgBox("ENTER THE QUANTITY")
frmstoadd.text1.focus()
elseif (IsNumeric(frmstoadd.text1.value)) then
if ((frmstoadd.text1.value)<>(cint(frmstoadd.text1.value))) then
MsgBox("QUANTITY SHOULD BE IN INTEGER")
frmstoadd.text1.focus()
end if
elseif not (IsNumeric(frmstoadd.text1.value)) then
MsgBox("QUANTITY SHOULD BE IN NUMERIC")
frmstoadd.text1.focus()
end if
end function
%>