?
Solved

Simple AODC Data Question

Posted on 2003-03-10
3
Medium Priority
?
153 Views
Last Modified: 2010-05-01
Hi
I wish to edit an item of data from a recordset using code, so far I have the following

               dbOrders.Recordset.Fields("Prepared").Value = Username.Text
               dbOrders.Recordset.Update

I get the error "Operation must use an updateable query", even though dbOrders.EditMode is set to "write".
Please Help
Thankyou r1gga
0
Comment
Question by:r1gga
[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
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 40 total points
ID: 8102456
What is the query for this recordset?
0
 
LVL 4

Expert Comment

by:bistrica
ID: 8102487
Your query is not updatable, probably becouse of some JOIN in it. Post quesry here, or rethink why recordset can not be updated. Maybe records are not uniquely identified...
0
 

Author Comment

by:r1gga
ID: 8102535
ok thanks angell, u prompted me in the right direction, the problem was the editmode settings for the adodc have no bearing on the recordset as it is defined by an SQL query so i defined write access in the SQL and it works thanks!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 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