Solved

ADO - Clipper

Posted on 2002-04-19
4
197 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now