DocumentObject.<Document name>.BeforeWrite
Syntax:
Parameters:
<Cancel>
Write cancel flag. If the parameter value is set to True in the body of the handler procedure, writing is not performed and the exception is raised.
Default value: False.
<WriteMode>
A current document write mode is transferred in this parameter. Use it to specify a write mode in the body of a procedure. Changing this parameter enables the user to change the write mode.
<PostingMode>
A current posting mode is passed to this parameter.
Changing this parameter enables the user to change the posting mode.
Description: