I keep receiving unspecified error on the bolded line below... If I paste the query in Access it runs properlry, also if I response.write the query it writes properly. Permissions are properly set there are actually two other scripts in this directory running in independant access databases that are functioning properly but this one keeps flagging an error... Does any one see what Im doing wrong?
Code:
<%@ LANGUAGE="VBScript" %>
<%
dim objConn,objRec,name1
set objConn=Server.CreateObject("ADODB.Connection")
objConn.Provider="Microsoft.Jet.OLEDB.4.0"
objConn.Open "\\lou1-web01\robohelp\shpsmate\shpsmate v3\asp\Hot Topics\db.mdb"
Set objRec = Server.CreateObject ("ADODB.Recordset")
objRec.Open "SELECT [ID],[tblName],[PP], FROM Names WHERE [PP]='" & request.form("PPID") & "'",ObjConn
name1=Rs("Name")
Response.write name1 & "<br/>"
%>