4D v16WP INSERT BREAK |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
WP INSERT BREAK
WP INSERT BREAK
The WP INSERT BREAK command inserts a new break of the breakType type in the rangeObj range according to the specified insertion mode and rangeUpdate parameter. In rangeObj, pass a valid 4D Write Pro standard range object. A rangeObj is a part of a 4D Write Pro document; it can be created using the , WP Get bookmark range or WP Get range commands. In breakType, pass one of the following constants from the 4D Write Pro Constants theme to define the type of break to insert:
In the mode parameter, pass a constant to indicate the insertion mode to be used for the break in the destination rangeObj range:
In the optional rangeUpdate parameter, you can pass one of the following constants to specify whether or not the inserted contents are included in the resulting range:
Note: If you do not pass the rangeUpdate parameter, by default the inserted contents are included in the resulting range. While building invoices, you want to insert page breaks except on the last page: $nbInvoices:=Records in selection([INVOICE])
See also
|
PROPERTIES
Product: 4D HISTORY
ARTICLE USAGE
4D Write Pro Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||