OnPostDataItem Trigger

Executed after a data item is processed.

Applies To

Data items

Remarks

This trigger executes after the last record in the data item is processed but before the OnPostReport Trigger or the OnPostXMLport Trigger is executed, if it is the last data item of the report or XMLport.

Use this trigger to perform any cleanup or post processing needed after a data item is processed. For example, if you create a non-printing report where records are updated, you can update all the records with the modification date like this.

MODIFYALL("Modification Date",TODAY);   

See Also

OnPostReport Trigger