Solved

Access 2016 - Running an Update Query getting a message box "Operation must use an udatable query".

Posted on 2016-08-31
5
83 Views
Last Modified: 2016-09-04
In Microsoft Access 2016, the tables are linked to SQL Server 2014, and running fine. However, in Design View, I tried running an "Update Query", and I got this message: "Operation must use an up updatable query". Why am I getting such a message, if I am actually running an Updatable query?
In the Security tab of the Access Properties, there is full permission assigned to my username, so that is not the issue.
I get the same error message when I run an update query  with code.
My application that I am currently working on, is transferred from a previous version of Access, and in that old version, I was not getting any of these error messages.
Another part of the problem is that when I tried running the following code:

DoCmd.TransferText acExportDelim, , "querylist", "c:\TransferFiles\querylist.rtf", True

The error message I get is "Runtime error 3027. Cannot update. Database or object is read-only."
What can be the issue, why everything is read only.
0
Comment
Question by:Moshe Singer
[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
  • 2
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
bfuchs earned 500 total points
ID: 41779223
what happens if you try edit the table from the database container directly?

also try re-linking all the tables.
0
 
LVL 85
ID: 41779624
Are you sure the database is running in a Trusted Location?

Note too with SQL Server, you often must have a TimeStamp field on the table in order for Access to be able to update things properly.
0
 

Author Comment

by:Moshe Singer
ID: 41780293
thanks a milion
0
 
LVL 85
ID: 41780454
Did one of our comments solve your issue? If so, please select that comment to close out your question.

If not, let us know and we can try to help further.
0
 

Author Comment

by:Moshe Singer
ID: 41783845
I re-linked 1 tables with the wizard, it creats a dsn file
then I re-linking all the tables with code,
and it its fine now
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

636 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