I am using Access 2007, and have a relational database with around 10 tables of data and around 40 tables used as LookUp for ComboBox controls. I have more than one form bound to some tables, but only one form loaded at a time. after adding or editing data, I click a command button which opens the next form then closes the current form. That is when I get the message "This record has been changed by another user since you started editing it" I then have three options: Save record, Copy to clipboard and Drop changes.
When I did some research on this issue, it seems the explanation is record locking, as the first form is editing data on 'part' of the table which the second form reads/writes to as well.
The solution from Microsoft was to change the record locks at form level to 'Edited Record', on both forms. I did this and still receive the same message. The second suggestion, also from Microsoft was to add the following code in the On deactivate event:
Expand|Select|Wrap|Line Numbers
- DoCmd.RunCommand acCmdSaveRecord
To complicate matters I also get this message when I switch between forms that are NOT bound to the same table, which can't be down to record locks.
Has anyone else experienced this?