In Access 2003 Jet Sql, I get an error:
"Operation Must use an updateable query".
I have searched google and the first dozen hits seem to all be saying it's a permissions issue.
In my situation it most definitely is not a permissions issue.
I'm tring to update a table using a subselect as the SET argument, ie:
There are no permissions issues, the db is not readonly, the tables are keyed properly, blah, blah, blah.
This works in sql server with the identical table structure.
Does Jet sql simply have this glaring weakness?
Without resorting to DMax or DAO recordset operations, how would one accomplish this in Access with pure sql?
The background is that I'm doing a 'downgrade' demo app--converting a sql-server backend to Access backend for a stand-alone demo app to be compiled used/tested on laptops.
Thanks for any help.
--Jim
"Operation Must use an updateable query".
I have searched google and the first dozen hits seem to all be saying it's a permissions issue.
In my situation it most definitely is not a permissions issue.
I'm tring to update a table using a subselect as the SET argument, ie:
Code:
UPDATE Customers c
SET c.LastOrder =
(SELECT Max(ordDate)
FROM Orders o
WHERE o.CustNum = c.CustNum
GROUP BY o.CustNum)
This works in sql server with the identical table structure.
Does Jet sql simply have this glaring weakness?
Without resorting to DMax or DAO recordset operations, how would one accomplish this in Access with pure sql?
The background is that I'm doing a 'downgrade' demo app--converting a sql-server backend to Access backend for a stand-alone demo app to be compiled used/tested on laptops.
Thanks for any help.
--Jim