Skip to content

DF_REREAD_REQUIRED

See Also: Get_Attribute, Set_Attribute

Description

Indicates whether an error should be generated for multi-user unsafe logic.

Level

Global

Type

Boolean, permanent

Access

Read / Write

Values

  • True
  • False

Remarks

To make logic multi-user safe, a reread of data from disk is required before data in an active record buffer is changed. This ensures that no other user or process has changed the data since it was last retrieved from disk.

If the value of this attribute is true and a reread is not performed, the error DFERR_EDIT_WITHOUT_REREAD will be triggered.

This attribute should be set to true to generate the error. When existing code generates the DFERR_EDIT_WITHOUT_REREAD, it is possible to set the attribute to false. Ensure that you change the code to follow the rules, and then switch the attribute back on.