Please enable JavaScript to view this site.

 

Navigation: Holidays > Recurring Holidays

Finding a Holiday Rule

Scroll Prev Up Next More
You can search for a specific recurring holiday, using either its unique internal ID, or its name, using part of its name or regular expressions.

 

From inside the holidays manager, click on the Find button located on the holidays sets toolbar, as shown on the right.

 

The Find Dialog

 

The Find Dialog then appears, and you can search for a particular holidays set by selecting Holidays Rule, at the top left of the dialog.

 

 

Look for

 

Depending on the option selected for Look for:

 

If searching for an ID, then there are no further search settings, as every recurring holiday ID is unique. Although one rarely refers to a holiday by its numerical ID, being able to find a holiday based on its ID is useful when using some macro functions, such as GetNextDateForHolidayId.

You can refine the search by specifying that the search should be case sensitive, limited to whole words, or that it should use regular expressions.

 

Where

 

Use the Where setting to narrow-down your search.

 

The setting Everywhere is obvious; the search looks for recurring holidays inside every holidays set, regardless of its position in the hierarchy. The setting In same folder and below looks for holidays inside every holidays set below the selected set. The setting In same folder only only looks for holidays inside sets within the same folder as the selected set, and the setting Only in current set looks for holidays inside the currently selected holidays set only.

 

       

Note that the second and third options are based on the folder of the currently selected set, not necessarily the set itself. So, for example, as is the case in the examples below, if the selected set is not a folder, then the search starts from the parent folder of the currently selected set.

 

Results

 

After you click on the Find button, the results of a search for part of a name are displayed at the bottom of the search dialog, with the searched for term being highlighted.

 

 

Sometimes, the searched for text is not visible in the list of results, as is the case in the second result of the image above. In such cases, place your mouse cursor over that entry to display the entire text, including the highlighted result.

 

 

If you are searching for an ID, and a recurring holiday of that ID is found, then the matching holidays set is selected in the tree-view list of holidays sets.

 

Important

 

If you click on any of the displayed results, the Holidays Manager will automatically jump to the corresponding holidays set and recurring holiday. You can then modify that recurring holiday, without closing the Find Results dialog, and then move to another of the results.

 

See also: finding holidays sets, finding one-time-dates and regular expressions.