Reset_FindNextHolidayOnDate

Navigation:  Appendices > Macro Language > Built-in Functions > All Functions (Alphabetical) >

Reset_FindNextHolidayOnDate

Previous pageReturn to chapter overviewNext page

void = Reset_FindNextHolidayOnDate()

 

As with other void functions you do not need to assign the result of this function to any variable :

 

Reset_FindHolidayOnDate()

// look for all holidays on same date

while FindHolidayOnDate(nDate,nHolSetID)

 // do something

endwhile

nDate = nDate + 1 // move on to next date

 

This macro function is used in conjunction with the function FindHolidayOnDate (see the help on that function for a detailed example of how these 2 functions work together). A call to Reset_FindHolidayOnDate ensures that your position in the holidays data table goes back to the first entry, so that you do not miss any holiday.


Topic 110052 updated on 11-Apr-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?reset_findholidayondate.htm