Solved

ADO - Clipper

Posted on 2002-04-19
4
200 Views
Last Modified: 2013-11-23
I am trying to modify records in a Clipper Database using ADO.

I tried with an SQL UPDATE in a connection execute.
I tried with a recordset.

When I try to update I receive an error 80004005 : Operation must use an updatable query.

The connection mode is read/write.
When I ask if the recordset supports update it replies True.
I try a Dynamic, Keyset recordset.

I have always the same error.

Has Anyone an idea ? If possible, I don't want to use DAO (I have not tried yet and I don't want to).

Thanks in advance.
0
Comment
Question by:greisch
4 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 0 total points
ID: 6953388
Which ODBC driver are you using to access the .dbf file? Some drivers do not support updating of data even though it appears that they do.
0
 
LVL 5

Expert Comment

by:raizon
ID: 6953488
Check to make sure that permissions are set properly on the database.  If you don't have write permissions on the database then you will get that error.
0
 
LVL 3

Author Comment

by:greisch
ID: 6959151
I deleted references to DBase files in ODBC then set them up again.
Now all works fine.
Thanks.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6959637
200 points have been refunded to you, the grade changed from "C" to an "A".  Thanks for posting the solution (workaround) you found outside the direct result of recommendations made here.  Rather than deleting it, we will keep this in our PAQ (Previously Asked Questions), since your own solution can help others.  Those asking questions cannot also be the ones granted with the Accepted Answer.

If you have any questions in this regard, please let me know.

Moondancer - EE Moderator
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question