Papa_Bear1
Member
- Local time
- Today, 07:38
- Joined
- Feb 28, 2020
- Messages
- 135
Just trying to close the loop on some of the comments...Why would you have multiple forms bound to UserOptions open at the same time? And in update mode no less?
When you are writing a complicated procedure inside a transaction and it requires updates to multiple tables, you need to be conscious of the deadly embrace scenario. Where App1 locks tbl1, tbl2, then tbl3. But App2 locks tbl2, then tbl3, then tbl1. You need to think about this when writing your code so you always lock the tables in the same order to prevent the conflict.
I think I updated my comment after your comment --- as I did not have them open at the same time. Indeed that would be a little bit crazy -- ha. I think the issue I've had is probably changing data on the form that is open - perhaps without saving it - and then there is a Write Conflict - that kind of thing - but - I'm not even sure - it's been a long time since running into that scenario. Anyway - totally agree with your point!!