Can somebody help me see my mistake ?
The patches display in the drop down list but the PatchID stays empty in the passing URL !
************************************************************
sql_request = "TRANSFORM Count(PatchList.PatchDesc) AS [The Value] SELECT PatchList.PatchName, Count(PatchList.PatchDesc) AS [Total Of PatchDesc] FROM PatchList GROUP BY PatchList.PatchName PIVOT PatchList.SUSServer"
rcd.open sql_request, cnx
%>
<form name="frmSelect" method="Post" target="_blank" action="../LocalServer/AUPatchDetails.asp?PatchID=" "" & rcd("PatchName"
&"">
<SELECT name=Patches LANGUAGE=javascript onchange="return dept_onchange(frmSelect)">
<%
Do while not rcd.EOF
if Request.Form("Patches"
= rcd("PatchName"
then 'if this is the selected one then display as selected
Response.Write "<OPTION VALUE = '" & rcd ("PatchName"
& "' SELECTED>"
Response.Write rcd("PatchName"
& "</Option>"
Response.Write rcd("PatchName"
rcd.MoveNext
else
Response.Write "<OPTION VALUE = '" & rcd ("PatchName"
& "'>"
Response.Write rcd("PatchName"
& "</Option>"
rcd.MoveNext
end if
loop
%>
</SELECT>
</form>
************************************************************
Thanks in advance for the help.
The patches display in the drop down list but the PatchID stays empty in the passing URL !
************************************************************
sql_request = "TRANSFORM Count(PatchList.PatchDesc) AS [The Value] SELECT PatchList.PatchName, Count(PatchList.PatchDesc) AS [Total Of PatchDesc] FROM PatchList GROUP BY PatchList.PatchName PIVOT PatchList.SUSServer"
rcd.open sql_request, cnx
%>
<form name="frmSelect" method="Post" target="_blank" action="../LocalServer/AUPatchDetails.asp?PatchID=" "" & rcd("PatchName"
<SELECT name=Patches LANGUAGE=javascript onchange="return dept_onchange(frmSelect)">
<%
Do while not rcd.EOF
if Request.Form("Patches"
Response.Write "<OPTION VALUE = '" & rcd ("PatchName"
Response.Write rcd("PatchName"
Response.Write rcd("PatchName"
rcd.MoveNext
else
Response.Write "<OPTION VALUE = '" & rcd ("PatchName"
Response.Write rcd("PatchName"
rcd.MoveNext
end if
loop
%>
</SELECT>
</form>
************************************************************
Thanks in advance for the help.