Hi
I have Access 2007 with a table (tblCust) containing a few fields. The 2 most important are the "ID" which is unique (PK) and a "fldValue"
"fldValue" has numerical values in some of the records while others are blank.
I would like to insert the maximum value of "fldValue" into the records that have no value.
So far I have this which does not work:
This gives me an "Operation must use an updateable query"Code:UPDATE tblCust SET tblCust.fldValue = (SELECT max(tblTemp.fldValue) from tblCust tblTemp) WHERE tblCust.fldValue is null;
Any ideas would be appreciated.


Reply With Quote

