Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Built-in Functions > All Functions

GetHolAbbreviationFromTable

Scroll Prev Up Next More

str = GetHolAbbreviationFromTable()

 

an example of a holiday abbreviation with variations

an example of a holiday abbreviation with variations

This macro function returns the abbreviations, taking into account the effect of any holiday abbreviation variation, of the current holiday in the holidays table.

 

The current holiday in the holidays table is due to previous calls to functions which move the cursor in the holidays table, such as FindNextHolidayOnDate and GetNextDateForHolidayId.

 

The macro code below gets the abbreviation of the first holiday of holidays set nHolSetID today.

// initialize the holidays table
Reset_FindNextHolidayOnDate()
// find the first holiday, if any, of set nHolSetID
if FindNextHolidayOnDate(Today(), nHolSetID)
   sAbbreviation = GetHolAbbreviationFromTable()
endif

See also: GetHolDateFromTable, GetHolIdFromTable, GetHolTextFromTable, GetHolNameFromTable.

 


Topic 152300, last updated on 02-Aug-2026