InformationRegisterRecordSet..BeforeWrite

InformationRegisterRecordSet.<Information register name>.BeforeWrite

InformationRegisterRecordSet.<Information register name>

BeforeWrite

Available since version 8.0.

Syntax:

BeforeWrite(<Cancel>, <Replacing>)

Parameters:

<Cancel>

Type: Boolean.
Information register set 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.

<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 before the information register set is recorded. The handler procedure is called after the recording transaction but before writing the information register record set.

Availability:

Server, thick client, external connection, mobile application (server), mobile standalone server.

Note:

This handler temporarily disables safe mode (this does not apply to handlers added by configuration extensions).

Available since:

Available since version 8.0.