Thanks For any Help I can get Im stumped
Hey all Im having some trouble with this code it says i need to set a function for request.form I thought this was a standard
My form post to this script and then hits a database to match the id with the text box from that it gets the filename for a java applet to load here is the script
<%@Language = "VbScript"%>
<!--#include file="adovbs.inc"-->
<%
dim objConn,objRec
set objConn=Server.CreateObject("ADODB.Connection")
objConn.Open "Data Source=" & Server.Mappath("../nes/GAMETABLE.mdb") & ";Provider=Microsoft.Jet.OLEDB.4.0;"
Set objRec = Server.CreateObject ("ADODB.Recordset")
objRec.Open "SELECT [ID], [Filename] FROM NESgames WHERE [ID]=Request.form",objConn,adOpenKeyset,adLockOptimistic, adCmdText
%>
<%
While NOT objRec.EOF
response.write "<applet code = NESCafeApplet archive =""NESCafe056.jar"" width =256 height =240> <param name=ROMFILE value=""games/"" &objRec(""filename"") ""> <param name=LIGHTGUN value=""false""> <param name=SOUND value=""true""> <param name=LOADSTATE value=""""> </applet>"
Wend
%>
Hey all Im having some trouble with this code it says i need to set a function for request.form I thought this was a standard
My form post to this script and then hits a database to match the id with the text box from that it gets the filename for a java applet to load here is the script
<%@Language = "VbScript"%>
<!--#include file="adovbs.inc"-->
<%
dim objConn,objRec
set objConn=Server.CreateObject("ADODB.Connection")
objConn.Open "Data Source=" & Server.Mappath("../nes/GAMETABLE.mdb") & ";Provider=Microsoft.Jet.OLEDB.4.0;"
Set objRec = Server.CreateObject ("ADODB.Recordset")
objRec.Open "SELECT [ID], [Filename] FROM NESgames WHERE [ID]=Request.form",objConn,adOpenKeyset,adLockOptimistic, adCmdText
%>
<%
While NOT objRec.EOF
response.write "<applet code = NESCafeApplet archive =""NESCafe056.jar"" width =256 height =240> <param name=ROMFILE value=""games/"" &objRec(""filename"") ""> <param name=LIGHTGUN value=""false""> <param name=SOUND value=""true""> <param name=LOADSTATE value=""""> </applet>"
Wend
%>