Event aread_after
This event is called after an instance of a class has been filled with a data set extracted from the database. Thus, it can be called at query time, at detail display time, or at the beginning of an edit activity.
In this event, additional properties of the class can be filled according to the class contents and the table buffer. If properties are overwritten, the final value in the updates event will be considered as the initial value. This means that the default value considered as this.snapshot.PROPERTY
will be the value assigned in this event. It will be the same if this.APARENT.PROPERTY
is filled in the event associated with a child class.
When nested classes exist, this event is called on the child instance in ascending order. For example, if a header / line / sub-line structure exists, this event will be called in the following order:
The instance this
is present and filled, the table declared in the class logic is opened, and the [F:abbrev] buffer is filled with the read result (abbrev is the abbreviation used to declare the table in the class dictionary).
The following variables or properties are also available in the context:
CURPTH
describes the child class path if the method is called on a child class. If the method is called on the main class, CURPTH is empty.AEVENT
is equal to AREAD_AFTER.