QueryModeChange and Lock problem

In some point in the workflow, a querymodechange function in a form run and return to continue=false for edit mode. It is working ok, no problem in this part.

The problem is that, even if the document did not enter in edit mode, the lock is set

for that user… And even when he exits the document, the lock is still on (I think that,

if he never edit it, notes thinks that it cant be locked)…

Is this right?

Subject: RE: QueryModeChange and Lock problem

Doesn’t seem like it should do this. You maybe should contact support.

As a workaround, could you use Authors fields instead of Querymodechange to control whether users can edit? Querymodechange is not actually secure anyway; users with a Designer client can debug the code and prevent you stopping their edit. Or, they can write toolbar buttons to change specific fields from a view.