| | |
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
hello everybody;
this is my code
and this is the error i get
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause.
/asatid/search.asp, line 32
plz help me to fiz it.whats wrong!?
this is my code
<%
Dim sqlstring
dim objConn
set objConn = server.CreateObject("ADODB.Connection")
'objConn.ConnectionString ="DSN=ostad.dsn"
objConn.open("ostad")
sqlstring = "SELECT * FROM ostad"
If Request.Form("TypeSearch") = "lname" Then
sqlstring = sqlstring & " WHERE lname LIKE '%"& Request.Form("DaInBox") & "%'"
End If
If Request.Form("TypeSearch") = "skill" Then
sqlstring = sqlstring & " WHERE skill LIKE '%"& Request.Form("DaInBox") & "%'"
End If
If Request.Form("TypeSearch") = "study_paper" Then
sqlstring= sqlstring & " WHERE study_paper LIKE '%"& Request.Form("DaInBox") & "%'"
End If
dim rsSearch
set rsSearch = server.CreateObject("ADODB.Recordset")
line 32rsSearch.open sqlstring,objConn,, adLockOptimistic, adCmdTableand this is the error i get
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause.
/asatid/search.asp, line 32
plz help me to fiz it.whats wrong!?
•
•
Join Date: Sep 2004
Posts: 89
Reputation:
Solved Threads: 1
Hello, try using the other driver than MS Access driver. Might be the driver is causing the error.
![]() |
Similar Threads
- Error Microsoft OLE DB/ODBC (0x80004005) Access (ASP)
- error (JSP)
- error (ASP)
- againt error (ASP)
Other Threads in the ASP Forum
- Previous Thread: Newbie: Creating Blog-style Messageboard (Dreamweaver 8)
- Next Thread: submitting varified data
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso iis msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection windows7





