Examples of the use of the Holidays (display/multiple) properties

Navigation:  ScriptLine Properties > Holidays (display) > Holiday Name >

Examples of the use of the Holidays (display/multiple) properties

Previous pageReturn to chapter overviewNext page

The following examples show the sophisticated results one can obtain from simple tokens, by a judicious use of the Holidays (display) and Holidays (multiple) properties.

 


To display a list of the dates on which there is a holiday, for a monthly grid

In the GridTemplate, use an [8Fa:m+00] duration token to get a concatenated list of all holidays for the current month.

 

Then, in the Holiday (display) property :

 

set the Display Holiday Name option to false.

set the Display Symbol option to on left side.

 

Finally, in the Holidays (multiple) property, set the separator to A Carriage Return, and put "[d]&t[Mmm]" as the text surrounding the holiday to the left or right (it makes no difference since the holiday's text will not be shown).

 


To display all the holidays for the current date, one above the other, and with the corresponding Holiday Symbol to the left, in parentheses (usually in the "priority" textbox)

In the GridTemplate, use an [Fa] token.

 

Then, in the Holidays (display) property :

 

Set the Display Holiday Name option to true.

Set the Display Symbol option to on left side.

Set the Surround Symbol by option to a left and right parentheses.

Set the Separator option to a single blank space.

 

Finally, in the Holidays (multiple) property, set the separator to A Carriage Return.

 


Note that in the above examples, when you see more that one Holiday Symbol grouped together, this does not come from concatenation, but from setting multiple Holidays Symbols for a holiday in the Holidays Manager (see Holiday Watermark and Holiday Symbol).


Topic 107081 updated on 12-May-2016.
Topic URL: http://www.qppstudio.net/webhelp/index.html?examples.htm