|
-
Jul 10th, 2000, 11:48 AM
#1
Thread Starter
Hyperactive Member
I'm getting this error when try to update a date.
Run-time error '-2147467259 (80004005)':
Query based update failed. The row to update could not be found.
I'm update another dates inclusive in the same table without problems.
Any idea bout it?
-
Jul 10th, 2000, 11:51 AM
#2
Guru
does this happen randomly or on certain records?
are you including the primary key of your table in your recordset?
-
Jul 10th, 2000, 11:52 AM
#3
Member
Is the record changed when you try to Update it?
Make sure no other application changing the same record.
-
Jul 10th, 2000, 12:15 PM
#4
Thread Starter
Hyperactive Member
All fields and records give me the error.
My app was in VB5 and there was no problems when 2 user inclusive updated the same record. I recompile the App in VB6. And begin to have this problems.
Any idea?
-
Jul 10th, 2000, 12:19 PM
#5
Hyperactive Member
I have had that same problem when using Access databases and have found that it usually occurs on the same record. Sometimes (but not always) it works to run the Compress and Repair Database tool from Access.
-
Jul 10th, 2000, 12:26 PM
#6
Thread Starter
Hyperactive Member
I'm using FoxPro as database. I have been using since lot of time and never have this kind of problems.
Thanks by anyway DrewDog
-
Jul 10th, 2000, 01:13 PM
#7
Thread Starter
Hyperactive Member
My app access to a FoxPro database into a Novell Netware 5.0 file server. When two users open and try to update the same recordset, I get an error:
Run-time error '-2147467259 (80004005)':
Query based update failed. The row to update could not be found.
How can I avoid my app of this problem? How can I lock the recods updating and how another client that try to update the same records can know that are locked an wait for the updating (in the another client) ends? Or desists of updating?
I'm using VB6 and ADO 2.1. My App runs in Win 9x/NT use a DSN ODBC to connect to database.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|