I have a Main in DB with Document locking turned on, when a 2nd users tries to open a document soneone else is already in they get a dialog box that says:
This document is already locked by…
They then have to click OK. The issue is 2 fold:
-
They have to click OK 3 times
-
After the 3rd click it opens the document anyway
I am trying to find the code for this Dialog box but have not been able to. Does anyone know where this code is called from? Or if there is a way to correct the action?
Thank you
Subject: RE: Opening a Document in Edit Mode
Why don’t you change the document to not open in edit mode, then? It seems like otherwise, your choices are to disable locking and deal with the resulting conflicts, or put up with being warned. I guess you don’t want to use locking, but still put a user into edit mode without warning them that they won’t be able to save their changes because they don’t own the lock?
It’s not normal to be warned three times that the document is locked. Could it be that there’s some form event code that keeps trying to set Source.Editmode = True as the document is being opened, even after this has already failed?