SQL Update woes in MS Access – Operation must use an updateable query

I have to weigh in with David W. Fenton’s comment on the OP.

This is highly annoying problem with Jet/ACE. But try either:

  1. go to the query properties (click
    the background of the pane where the
    tables are displayed) and set
    ‘Unique Records’ to ‘Yes’
  2. Option 1 is the equivalent of adding
    the somewhat strange looking
    DISTINCTROW keyword to the
    SELECT clause, eg

:

UPDATE DISTINCTROW tblClient 
       INNER JOIN qryICMSClientCMFinite 
          ON tblClient.ClientID = qryICMSClientCMFinite.ClientID
   SET tblClient.ClientCMType = "F";

This solves so many problems involving this error message that it is almost ridiculous.

That’s MS Access in a nutshell – if you don’t know the trade-secret workaround for problem x, you can take days trying to find the answer. To know the 10,000 workarounds IS to program Access. Is that enough of a warning for the uninitiated ?

Ben

Leave a Comment