473,625 Members | 3,384 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A97 error "Operation Must Use An Updateable Query" ???

MLH
What is the meaning of this error?

Operation Must Use An Updateable Query

???
Nov 13 '05 #1
5 2121
Usually it means you can't update a table from a query that is itself
not updateable - as is the case with most queries involving tables with
one-to-many relationships etc.

The trick is to have it as an append query, writing the values to a
seperate temporary table and then run another query to update the
values from this to the table you were trying to update in the first
place. Pain in the @rse but the only workaround i know of.

....of course this might not be the problem: more details please :)

Nov 13 '05 #2
MLH
Actually, you may have shed meaningful light on the issue for me. I'll
have to study about it some more. Any idea why the problem might
show up on an A97 runtime app installed on a Win98 box and NOT
on an XP box? Believe me, tested 'n verified. Brand new install does
not result in err launching on XP, but opposite is true on a 98-box.

xxxxxxxxxxxxxxx xxxxxxxxxxxx

Usually it means you can't update a table from a query that is itself
not updateable - as is the case with most queries involving tables with
one-to-many relationships etc.

The trick is to have it as an append query, writing the values to a
seperate temporary table and then run another query to update the
values from this to the table you were trying to update in the first
place. Pain in the @rse but the only workaround i know of.

...of course this might not be the problem: more details please :)


Nov 13 '05 #3
MLH
I must apologize. Somehow, the installation of the A97 runtime
app onto a Win98 box resulted in the mde file being read-only.
Attrib MyFile.mde returned +R. After changing it, the problem
went away. I need to post another topic asking "Why would
A97 runtime installation create the target mde file with +R
(read only) file attribute setting on a Win98 box?" I think I'll
ask that of the group.
Nov 13 '05 #4
Probably a dll problem. De-compile it, install it and then re-compile
on the target machine... that should circumvent vbe6.dll errors anyway,
but it's hard to know - access doesnt move from platform to platform
very happily. different versions of jet, odbc, vb environment etc tend
to conflict with one another. sorry i cant be of more help

Nov 13 '05 #5
MLH
That's quite alright. Thx for the comments. Its easy enough, the work
around. Just change the file attribute on the target machine once
installed. Only necessary once.

xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxx
Probably a dll problem. De-compile it, install it and then re-compile
on the target machine... that should circumvent vbe6.dll errors anyway,
but it's hard to know - access doesnt move from platform to platform
very happily. different versions of jet, odbc, vb environment etc tend
to conflict with one another. sorry i cant be of more help


Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
46886
by: Matthew Louden | last post by:
The following ASP code yields the following error, but actually the new record is stored in database. The same error happens when the application deletes a record, such as sqlStmt ="delete from test where username='2323'" Any ideas? Thanks! <% Dim objRS, sqlStmt Set objRS = Server.CreateObject ("ADODB.Recordset") sqlStmt = "insert into test VALUES ('2341', '2341');"
4
6498
by: MDW | last post by:
Hey all. I'm confused. I'm trying to add a single record into an Access 2000 database using ASP.Net. Here is the code: objConn = New OleDbConnection(strConnect) objConn.Open objCommand = New OleDbCommand("INSERT INTO LOGIN_MASTER (LOGIN_ID, PWD, F_NAME, L_NAME, TYPE_ID) VALUES ('" & strEmail & "','" & strPwd & "','" &
10
3944
by: cyber0ne | last post by:
I'm having a bit of trouble adding records to a local .DB file (using a Paradox connection string). I checked the file permissions, and for testing purposes set Everyone to Full access. But it seems that I can add one and only one record to the table, any other attempts to insert a record generate the error: "Operation Must Use An Updatable Query" I can access the table via other means, delete that one record, try again, same...
0
1765
by: colt | last post by:
I have a query that is pretty straightforward and I am trying to generate 5 reports from that query. The reports produce totals by Project Manager, Category, Client, Account Manager and Account Executive. The first three reports work fine. However, when I try to change the sorting and grouping to either Account Manger or Account Executive, I get an "Invalid Operation" error and the report does not open. Has anybody seen this before?
4
15750
by: Mike D | last post by:
OS: Windows XP Professional Microsoft Access 2003 I am trying to update a table in my DB from a tempory table. I need to ensure that if records in the main table match records in the temp table (on the keys) they are replaced/updated by the new data in the temp table. the vba code i am running is below: Dim mySQL As String
5
2111
by: lsllcm | last post by:
Hi All, I have one question about many "or" operation make system choose incorrect index There is one table TT ( C1 VARCHAR(15) NOT NULL, C2 VARCHAR(15) NOT NULL, C3 VARCHAR(15) NOT NULL, C4 VARCHAR(15) NOT NULL
7
4833
by: EManning | last post by:
Using A2003. I'm receiving this error when returning from a "DoCmd.OpenReport..." statement. I have a tab control with a subform on every tab. The user selects an item from a combobox at the top of the main form which refreshes all the subforms. If this DoCmd statement is not executed, then I don't receive the error. I tried a "DoCmd.OpenQuery..." instead of a report but get the same error. I want the user to be able to...
8
4426
geolemon
by: geolemon | last post by:
I'm trying to perform an update, and I can't avoid this error - I've tried this query what must be 5 different very fundamentally different ways now. Arg. I used to be a DBA in large DB2 and SQL Server environments, but I'm a little rusty, plus I'm very new to Access. I am trying to perform a calculation based on information in a few tables, and use the result to update another. Should be simple, here's what counts from the tables...
5
1756
by: denveromlp | last post by:
I've been getting the following error in a delete query. This is the SQL: DELETE tbl_missingroadnummaster.* FROM qry_missingfleets INNER JOIN (tbl_missingroadnummaster INNER JOIN tbl_locodata ON tbl_missingroadnummaster.ROAD_NUMBER = tbl_locodata.ROAD_NUMBER) ON qry_missingfleets.FLEET_NAME = tbl_locodata.FLEET_NAME; Ever run into this before? Thanks!
0
8256
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8189
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8694
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7184
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1500
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.