InformationRegisterRecordSet.<Information register name>.OnWrite

Syntax:

OnWrite(<Cancel>, <Replacing>)

Parameters:

<Cancel>

Type: Boolean.
The set's writing in the database cancel flag.
Default value: False.

<Replacing>

Type: Boolean.
Set write mode.
True - the set records in the database are replaced by writing.
False - the current record set is added to the database by writing.

Description:

Occurs when the object writing is executed. A handler procedure is called after the object is written in the database but before the writing transaction is completed.

    

1C:Enterprise Developer's Community