Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update Recordset Errors

Status
Not open for further replies.

pengprog

Programmer
Jul 16, 2002
25
US
After some problems here and there, I feel as if I have reached a wall with this error I have been getting when trying to do a RecordSet.Update

Microsoft Cursor Engine error '80004005'
Insufficient base table information for updating or refreshing.

The error is in the line that I call my update and after doing some searching on the internet it seems this is a bug or some sort...I am hosting my ASP, VBScript Files on an NT Server and querying Dbase 5 tables.


 
Here is a bit of the code. It works fine when running in WinXP...

Set RS = Server.CreateObject("ADODB.Recordset")
sql = "SELECT * FROM BEMIMA.DBF WHERE UNAME = '" & Session("USERNAME") & "' AND PW = '" & Session("PASSWORD") & "'"
RS.CursorLocation = adUseClient
RS.Open sql, objConn,adOpenStatic,adLockOptimistic

If not RS.EOF then
'update the record

RS("PW") = new_pass
RS.Update
Session("password") = new_pass
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top