The
postproc statement declares that the statements following it are executed at the end of a run, case, level, record, form, roster, or field.
In data entry applications, statements in a
postproc procedure are executed when you
complete an object; that is, flow off of it. When you click off a field, manually skip from a field, or move backward, the
postproc statements are
not executed. If you want to execute the statements in these situations, code them in the
killfocus procedure.
In batch edit applications, a
postproc is used to execute logic at the end of a run, case, level, or record. For an item there is no difference between placing your logic in a
preproc or
postproc.