Hi all,
I am trying to run a delete script with a list shown and a delete link next to them.
The list is shown and the FeatID is to be passed over to another script for request.querystring
<%
Dim connectDel, recstDel
Dim FeatureID
Set connectDel = Server.CreateObject("ADODB.Connection")
connectDel.Open("DRIVER={Microsoft Access Driver (*.mdb)};" _
& "DBQ=" & Server.MapPath("Estimation.mdb"))
FeatureID = Request.QueryString("FeatID")
recstDel.Open "DELETE from FuncFeat WHERE FeatID=" & FeatID, connectDel
Set recstDel = Nothing
Set connectDel = Nothing
Response.Redirect("DeleteFeatures.asp")
%>
When trying to run the page in request.querystring, error is seen:
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: "
I am trying to run a delete script with a list shown and a delete link next to them.
The list is shown and the FeatID is to be passed over to another script for request.querystring
<%
Dim connectDel, recstDel
Dim FeatureID
Set connectDel = Server.CreateObject("ADODB.Connection")
connectDel.Open("DRIVER={Microsoft Access Driver (*.mdb)};" _
& "DBQ=" & Server.MapPath("Estimation.mdb"))
FeatureID = Request.QueryString("FeatID")
recstDel.Open "DELETE from FuncFeat WHERE FeatID=" & FeatID, connectDel
Set recstDel = Nothing
Set connectDel = Nothing
Response.Redirect("DeleteFeatures.asp")
%>
When trying to run the page in request.querystring, error is seen:
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: "