If any one can help me with this, i would be happy..
I am having problem with accessing data from Access 2000 database with ASP. I tried in all ways i knew for the past 2 days. I registered in this forum hoping that i will find a solution.
Please look at my code,
<% Set oConn = Server.CreateObject("ADODB.Connection")
With oConn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.connectionString = "Data Source=\\dkntsrv3\trlrs\db2.mdb;"
.CommandTimeout = 300
.Open
End With
ssql = "select * from tblEmployeeRecords where [EmplNo]= 'US265220'"
set rst = Server.createObject("ADODB.Recordset")
rst.open ssql,oConn,3,3,adcmdtext *********<Errro here
response.write(rst.recordCount)
%>
This query is working when tried using other fields in place of EmplNO.
not working only for EmplNo, OperNo fields, OperNo is the primary key of the table. All fields in the table are text fields..
Any help with this wil be appreciated.
Thanks in advance.
Ravi.