Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ADO - Clipper

Posted on 2002-04-19
4
Medium Priority
?
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

636 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