trigger leavePrinted
Location for ProcScript that determines what should occur after an occurrence is printed.
Declaration: | trigger leavePrinted
|
Applies to: | Entity in Form and Report components |
Activation: | Activated after an occurrence has been printed and before the next occurrence becomes active. |
Default behavior: | None |
Behavior upon completion: | None |
Description
You can use this trigger when writing a report for such things as:
- Accumulating values, such as totals, subtotals, and so on.
- Calculating or copying fields into break frames.
- Testing whether a break frame should be printed.
leavePrinted Occurrence
trigger leavePrinted ; of entity INVOICE if (INVDATE != $next(INVDATE)) $CUSTNAME$ = NAME.CUSTOMER eject endif end