Error 3073 Microsoft Access
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more
Ms Access Operation Must Use An Updateable Query
about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users operation must use an updateable query access 2013 Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping
Operation Must Use An Updateable Query Access 2003
each other. Join them; it only takes a minute: Sign up Operation must use an updatable query. (Error 3073) Microsoft Access up vote 16 down vote favorite 4 On some Microsoft Access queries, I get the following message: operation must be an updateable query access 2013 Operation must use an updatable query. (Error 3073). I work around it by using temporary tables, but I'm wondering if there's a better way. All the tables involved have a primary key. Here's the code: UPDATE CLOG SET CLOG.NEXTDUE = ( SELECT H1.paidthru FROM CTRHIST as H1 WHERE H1.ACCT = clog.ACCT AND H1.SEQNO = ( SELECT MAX(SEQNO) FROM CTRHIST WHERE CTRHIST.ACCT = Clog.ACCT AND CTRHIST.AMTPAID > 0 AND CTRHIST.DATEPAID < CLOG.UPDATED_ON ) ) WHERE CLOG.NEXTDUE IS NULL; access operation must use an updateable query linked table ms-access share|improve this question edited Oct 4 '08 at 21:46 Sklivvz♦ 20.4k2381152 asked Oct 4 '08 at 16:08 Knox 1,99872655 add a comment| 20 Answers 20 active oldest votes up vote 20 down vote accepted Since Jet 4, all queries that have a join to a SQL statement that summarizes data will be non-updatable. You aren't using a JOIN, but the WHERE clause is exactly equivalent to a join, and thus, the Jet query optimizer treats it the same way it treats a join. I'm afraid you're out of luck without a temp table, though maybe somebody with greater Jet SQL knowledge than I can come up with a workaround. BTW, it might have been updatable in Jet 3.5 (Access 97), as a whole lot of queries were updatable then that became non-updatable when upgraded to Jet 4. -- share|improve this answer edited Oct 24 '12 at 13:53 Anirudh Ramanathan 32k1177120 answered Oct 4 '08 at 21:12 David-W-Fenton 19.2k22947 Thanks for the explanation. –Knox Oct 5 '08 at 17:02 1 So we have a pretty trivial update statement (UPDATE CLOG SET CLOG.NEXDUE = ... WHERE CLOG.NEXTDUE IS NULL), and the only reason why it does not work is that the query used to compute new value of CLOG.NEXDUE is "too complex". Unbelievable!! I am glad we switched from Jet to SQL Server!!! :-)) –Yarik Nov
be down. Please try the request again. Your cache administrator is webmaster. Generated Tue, 11 Oct 2016 09:07:04 GMT by s_ac15 (squid/3.5.20)
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 https://msdn.microsoft.com/en-us/library/bb223637(v=office.12).aspx Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. MSDN Library MSDN Library MSDN Library MSDN Library Design Tools Development Tools and Languages Mobile and Embedded Development .NET Development Office development Online Services Open Specifications patterns & practices Servers and Enterprise Development operation must Speech Technologies Web Development Windows Desktop App Development TOC Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. This documentation is archived and is not being maintained. Operation must use an updatable query. (Error 3073) You tried to run, open, or modify a query that is not updatable. an updateable query Possible causes: You attempted to run a query that tried to update a field that cannot be updated. For example, you may have created the query in such a way that you tried to update a field on the one side of a one-to-many relationship. You tried to use the obsolete OpenQueryDef method on a query that is in a database opened for read-only access. The database is read-only for one of the following reasons: You used the OpenDatabase method or the Visual Basic Data control, and opened the database for read-only access. The database file has been defined as read-only in your network operating system. In a network environment, you do not have write privileges for the database file. Close the database, resolve the read-only condition, and then reopen it for read/write access. You do not have permission to make changes to the query. To change your permission assignments, see your system administrator or the query's creator. Community Additions Show: Inherited Protected Print Export (0) Print Export (0) Share IN T