@Fabrice Thanks and thanks for the explanation. I'm sure now I'll remember but the code provided still does not work. I get a message that says "Could not update; record locked". I suspect this is because I am cycling though a recordset and now trying to change one of the records in that recordset (but not the recordset at the cursor). Can you help?
PatHartman
You may have cut off too much of the code. Put a stop in the code and print the SQL string to the immediate window. If you don't see the problem, copy it and paste it into the QBE and try to run it from there.
Based on the error message, chances are excellent that the form that is running this code is bound to the form that is running it and the current record is dirty.
Fabrice Lambert
Well, this is another issue, not related to your first question.