str = GetHolSymbolsFromTable()
➢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 symbols of all the holidays of holidays set nHolSetID on the date of the macro token.
sRESULT = ''
// initialize the holidays table
Reset_FindNextHolidayOnDate()
// find all the holidays of set nHolSetID
while FindNextHolidayOnDate(n_TokenDate, nHolSetID)
sCurHolText = GetHolTextFromTable(false)
sCurHolSymbols = GetHolSymbolsFromTable()
if sCurHolSymbols <> ''
sCurHolSymbols = sCurHolSymbols + ' '
endif
sRESULT = sRESULT + sCurHolSymbols + sCurHolText + chr(13)
endwhile
Note that when you make a call to GetHolSymbolsFromTable, and this function returns symbols, it also generates the formatting instructions needed to display those returned symbols in the current holidays set’s symbol font, as in the example above.
See also: GetHolIdFromTable, GetHolTextFromTable, GetHolNameFromTable.
Topic 110055, last updated on 18-Nov-2026