Checks the current status of the document and returns 1 (True) if the document is being edited; otherwise returns 0 (False).
@IsDocBeingEdited
flag
Boolean
This function does not work in column, selection, agent, form, or view action formulas. It's intended for use in button, hide-when, field, and form action formulas.
@If(@IsDocBeingEdited; @True;@Command( [EditDocument] ; 1 ));
@DocLock([Lock])
EditMode property of LotusScript® NotesUIDocument class