Hi there, first time poster...long time lurker ;-)
Not sure why but I get errors when I add the 'where' clause to my select statement. Any ideads why this is happening - been researching for hours...
here's a snippet of the code:
Not sure why but I get errors when I add the 'where' clause to my select statement. Any ideads why this is happening - been researching for hours...
here's a snippet of the code:
Code:
oNoun = Request.Form("noun")
response.Write(oNoun)
strSelect = "Select modifier from [sheet1$] "
'strSelect = strSelect & " where noun = " & oNoun
Set oConnDICT = Server.CreateObject("ADODB.Connection")
oConnDICT.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Session("dict_full_path_name") & ";" & _
"Extended Properties=""Excel 8.0;HDR=YES;"""
Dim oRSDICT
Set oRSDICT = Server.CreateObject("ADODB.Recordset")
oRSDICT.Open strSelect, oConnDICT
If Not oRSDICT.EOF then
arroRSDICT = oRSDICT.GetRows()
End If
Comment