FORMULA LANGUAGE


Examples: @IsDocBeingEdited
This code, when added to an action button, checks whether the current document is in edit mode. If it's not, it changes the document's mode to edit in order to execute the @DocLock function, which requires that the current document be in edit mode. It then locks the current document.

@If(@IsDocBeingEdited; @True;@Command( [EditDocument] ; 1 ));

@DocLock([Lock])

See Also