Operation Must Use An Updateable Query (1 Viewer)

Aaron Greatbanks

Registered User.
Local time
Today, 03:40
Joined
Dec 22, 2012
Messages
11
I just altered and update qeury so that it's a wuery based on a table and a qeury but when i run it is comes up with Operation Must Use An Updateable Query

This is the SQL Code:

UPDATE tblStudent INNER JOIN [qry=3ForCrossTableQuery] ON tblStudent.[Student ID] = [qry=3ForCrossTableQuery].[Student ID] SET tblStudent.WWOCompleted = True
WHERE ((([qry=3ForCrossTableQuery].[Total Number Of Unit])=3));

How do i resolve this?
 

mail2poov

New member
Local time
Yesterday, 19:40
Joined
Nov 19, 2012
Messages
5
I am also getting the same error while I am doing insert.

1) Below insert statement is working fine - here Inserting into access table from linked excel table
strSQL = "Insert into tblAccessTag Select * from ExcelTag"
CurrentDb.Execute strSQL

2) strSQL = "Insert into ExcelLinkedTbl Select * from tblAccessTag "
CurrentDb.Execute strSQL

this give error with Operation must use an updatable query. (Error 3073) Microsoft Access

-- The excel not opened. The access table and Linked table not opened in Access. The excel file is not read only

Any help to solve this please.
 

boblarson

Smeghead
Local time
Yesterday, 19:40
Joined
Jan 12, 2001
Messages
32,059
You can't update Excel as a linked table. Microsoft lost a lawsuit many years ago around that technology and so the way you would update the Excel file is having to use the Common Object Model to open it via code and then do the update through the code.
 

Users who are viewing this thread

Top Bottom