?
Solved

ADO - Clipper

Posted on 2002-04-19
4
Medium Priority
?
205 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…
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…
Suggested Courses

764 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