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


Previous pageReturn to chapter overviewNext page

str = GetHolAbbreviationFromTable()


This macro function returns the abbreviation of the current holiday in the holidays table.


// initialize the holidays table


// check if there is a holiday today containing 'luther'

if FindNextHolidayOnDate(Today(), nHolSet)

 sText = GetHolAbbreviationFromTable()

 // do something



Note :

The functions GetHolDateFromTable, GetHolIdFromTable, GetHolTextFromTable, and GetHolNameFromTable are used to read information about the current holiday record in the holidays table. If you need to get the value of a holidays list token, you should use the EvalToken function.

To set the current record to a desired holiday occurrence you would use one of the functions such as : FindNextHolidayOnDate or GetDateForHolidayIdOfYear.


This function is part of a set of advanced functions that give you direct access to the holidays tables (see Using Built-in Holidays Functions).

Topic 152300 updated on 29-Sep-2017.
Topic URL: