Occurences Count

Navigation:  ScriptLine Properties >

Occurences Count

Previous pageReturn to chapter overviewNext page

Read-only property of the ScriptLine: Inserts.


This read-only property displays the total number of occurrences of an insertion, based on the starting and endings dates of the parent DiaryGridLine, and the totality of the insertions stemming from the insertion rules of the current Insert ScriptLine (the Specific Dates, Repeating Dates, and Variable Dates properties).


You can get an overview of all the occurrences in an Insert ScriptLine by inspecting the All Dates property.


Note that if 2 or more of the Specific Dates, Repeating Dates, and Variable Dates properties generate the same date as an insertion occurrence, that date will only be counted once.


If a DiaryGridLine has 2 Insert ScriptLines, and both of these generate an insertion on the same date, then each Insert will generate its pages on that date. In principle these pages will be inserted in the order in which the Inserts appear in the Script Editor, but the combination of Insert Occurrence, Insert First Page and the inserted template's Start Grid on, can lead to unexpected sequences of pages and it is always best to setup your script so that only one Insert ScriptLine ever generates an insert at the same time.


See also: Page Count, Pages/Occurence.

Topic 46000 updated on 30-Dec-2018.
Topic URL: https://www.qppstudio.net/webhelp_xv4/index.html?occurencescount.htm