Inserting an odd number of pages before first spread of a grid

Navigation:  Messages > Design-Time Messages > Inserts >

Inserting an odd number of pages before first spread of a grid

Previous pageReturn to chapter overviewNext page

Cause : This message is triggered by an Insert ScriptLine if its property Insert Occurrence is set to Before Date and one of the insertion dates occurs on the first 2 pages of a grid, and the number of pages being inserted is odd (not divisible by 2).

 

Consequences : The insertion of an odd number of pages before the very first page of a grid can sometimes cause the pagination of your script to be incorrect. Some examples of the effects you may observe :

 

Missing insertion before the first date.

 

Duplicated insertion before the first date.

 

Daily grids starting on the opposite side of the side specified in the GridOptions property.

 

Generally, since the update of July 15 2002 (build 9325), you should not have problems with such scripts anymore. But if you do, then you should avoid insertions before the first date of a grid, and place these pages at the end of the FrontPages instead. If that is not possible, then you should set the value of Ignore Sidedness to Ignore Sides.

 

Solutions :

 

Change to "Insert After" (recommended) : changes the value of the property Insert Occurrence to After Date. Make sure that you remember to change the insertion date to an earlier date.

 

Change to "Ignore Sides" : changes the value of the property Ignore Sidedness to Ignore Sides. This prevents cases where the first insert does not appear because there are no pages of the right disde beforehand (ie. the grid starts on page 1 or 2 of the diary).


Topic 172720 updated on 14-Jul-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?insertinganoddnumberofpag.htm