Please enable JavaScript to view this site.


Navigation: Script Line Properties > Begin Rule, End Rule

Begin/End Rules for Daily and Weekly DiaryGridLines

Scroll Prev Up Next More

If the template selected for the current DiaryGridLine was defined as a daily or weekly template, then editing either of the begin/end rule properties brings up a calendar-like property editor, as shown on the right.


The elements of a begin/end rule for daily and weekly diary grid line are:


A reference date, displayed in the calendar control.

A year offset which is the difference between the year of the date selected in the calendar, and the year as defined in the year property. This is calculated automatically.

The option to use week matching.


Some remarks:


The begin/end rules are independent of one another. So, for example, you could want your diary to start at the beginning of the week that contains January 1st, but want to end your diary exactly on December 31st.

Week Matching follows the setting of week start defined for each DiaryGridLine, in the grid options property. If you set Week Start to Saturday for a given DiaryGridLine, you could therefore have a rule that defines the begin or end date of your diary as the Saturday before January 1st (or any other date).

Usually weekly diaries should be created with the Week Matching option set to true. If it is not, Q++Studio will split the GridTemplate at the front and/or the back of the diary to come as close as possible to the begin/end date you chose. However, due to the structure of weekly grids, the resulting output may include some extra days.


See also: insert first page, grid extent, start for, end for.


Topic 186585, last updated on 15-Apr-2022