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
Solved

ADO - Clipper

Posted on 2002-04-19
4
201 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide vba in gp 7 104
How to build JSON File in Delphi 6 3 45
Twebbrowser add css to the header 3 28
shape, triangle, dbctrlgrid 3 17
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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 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…
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…

838 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