This old chesnut again...sorry.
I'm trying to update an Access d/b and, because one of the fields is linked via a relationship to another table, I get the above error when I change ANY field and then try to update. I get it irrespective of whether I use a recordset Update or a SQL 'UPDATE <table_name> SET...'
If I exclude the field in question (which is a look-up ID) from the SQL UPDATE, the update works, but I don't want to exclude it, since the code is intended to be generic and other tables in the d/b may need this type of field to be updated. The field in question, 'ClubNo', is obviously linked to many other tables in the d/b - I have tried to make the d/b as normalised as possible - so the problem will arise for updates to other tables, too.
To elaborate, the table is a record of sports club fixtures and the rogue field (in this case I'm trying to fix right now) 'ClubNo' contains an integer indicating which club the fixture pertains to: I have different "clubs" because juniour sections have different funding, coaching arrangements, etc etc. So, it could be that at some point, a fixture may be wrongly assigned to a club and need updating. That's why I can't simply bypass the rogue field - I did have in mind to test for only fields which had changed, but as I say above, these field values _COULD_ also change.
What do I need to add to the SQL query or, preferrably to the RS update command, to get all the fields updated?