3.24

@@NewPage

Use @@NewPage when you want to insert a new page into the document.

Syntax:

@@NewPage(<test>)

Parameters:

<test>

An optional expression that can evaluate to True or False. If included and true, the page break is inserted, otherwise no page break is inserted. If no test is specified, a page break is always inserted. The test can include a token.

When testing on a string (non-numeric value), enclose the data in single quotes. When testing on a number, do not use single quotes.

Use Or and And for testing multiple conditions. Or evaluates to true when any of the conditions are true. And evaluates to true only when all of the conditions are true.

You can use any of the following test conditions

=

equals

<>

does not equal

<

less than (only allowed with numeric data)

>

greater than (only allowed with numeric data)

Example

@@NewPage(#Terms.SpIsMDCoverage = 'Y')