Could someone please explain what this error means to me?
Item cannot be found in the collection corresponding to the requested name or ordinal.
If Not IsEmpty(Request.QueryString("EventID"
) then
qGetConstructionDetails = "SELECT * FROM tbl_construction_events WHERE EventID = "&Request.QueryString("EventID"
SET ConstructionDetails = adoDataConn.Execute(qGetConstructionDetails)
For X = 1 to 1
qCopyIncident = "INSERT INTO tbl_dynamic_events "&_
"(CategoryID,EventTypeID,RegionID,CityID,EventText,CreatedOn,Persistence,Expiration) "&_
"VALUES('"&ConstructionDetails("CategoryID"
&"',"&_
"'"&ConstructionDetails("EventTypeID"
&"',"&_
"'"&ConstructionDetails("RegionID"
&"',"&_
"'"&ConstructionDetails("CityID"
&"',"&_
"'"&ConstructionDetails("EventText"
&"',"&_
"'"&ConstructionDetails("LogDateTime"
&"',"&_
"'no',"&_
"'"&ConstructionDetails("TimeToExpire"
&"'"&_
"
"
adoDataConn.Execute(qCopyIncident)
Next
End If
Thanks, Dave
Item cannot be found in the collection corresponding to the requested name or ordinal.
If Not IsEmpty(Request.QueryString("EventID"
qGetConstructionDetails = "SELECT * FROM tbl_construction_events WHERE EventID = "&Request.QueryString("EventID"
SET ConstructionDetails = adoDataConn.Execute(qGetConstructionDetails)
For X = 1 to 1
qCopyIncident = "INSERT INTO tbl_dynamic_events "&_
"(CategoryID,EventTypeID,RegionID,CityID,EventText,CreatedOn,Persistence,Expiration) "&_
"VALUES('"&ConstructionDetails("CategoryID"
"'"&ConstructionDetails("EventTypeID"
"'"&ConstructionDetails("RegionID"
"'"&ConstructionDetails("CityID"
"'"&ConstructionDetails("EventText"
"'"&ConstructionDetails("LogDateTime"
"'no',"&_
"'"&ConstructionDetails("TimeToExpire"
"
adoDataConn.Execute(qCopyIncident)
Next
End If
Thanks, Dave