OnPreDataItem Trigger

Executed before a data item is processed.

Applies To

Data items


This trigger is executed before a data item is processed, but after the associated variable is initialized and table views and filters are set.

You can use this trigger to add additional filtering beyond what is established by the DataItemLink Property (Reports) or DataItemTableView Property. For example, use this trigger if you need to filter an indented data item based on the result of a calculation. Use the SETRANGE Function (Record) or SETFILTER Function (Record) function to add extra delimiters.

See Also

DataItemLink Property (Reports)
DataItemTableView Property
SETRANGE Function (Record)
SETFILTER Function (Record)