FILL event procedures
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
FILL event procedures
If you need special logic to supplement or to fully
control the FILL process, the procedures that implement
that logic also go into the Data Access object. They can be attached
to any ProDataSet instance passed in to the procedure using the SET-CALLBACK-PROCEDURE method.
They belong there because they have full knowledge of the specifics
of the sources of data, whether they are standard OpenEdge Data-Sources
or not, and how the data is mapped to the internal representation
used by the rest of the application.
For example, OrderSource.p has these FILL event
procedures:
|
Procedure postOlineFill calculates the Order total,
and procedure postItemRowFill reformats the Item Name for
each Item.