Please enable JavaScript to view this site.

 

Navigation: Messages > Modal Messages > Generating

Parameter passed to GetNthHolSetId outside of allowed range

Scroll Prev Up Next More

A macro called the function GetNthHolSetId with an argument outside of the allowed range of 1-127.

 

There are usually 2 cases of this message occurring:

 

Parameter = 0: you forgot to initialize the parameter.

Parameter > 127: you forgot to put an exit condition in your for or while loop.

 

For an example of code that loops through all the holidays sets of a holidays list, see iterating through all the holidays sets of a holidays list.

 


Topic 108737, last updated on 01-Aug-2020