GetHolSetAbbreviationOfId

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

GetHolSetAbbreviationOfId

Previous pageReturn to chapter overviewNext page

str = GetHolSetAbbreviationOfId(nHolSetId)

 

This macro function is used to obtain the default abbreviation of the Holidays Set with ID given by nHolSetId. This function is often used in holidays pages where the holidays of many countries are listed one after the other, and you wish to display the default abbreviation of each holidays set, rather than the abbreviation of the holidays themselves.

 

 

Note that this ID is the ID of the holidays set in the database. Usually this function is used with GetNthHolSetId to obtain the name of the Nth set in one of the Holidays Lists. For example, the above inset would be generated using :

 

nCurSetId = GetNthHolSetId('a',1)

sResult = GetHolSetNameOfId(nCurSetId) + '(' + GetHolSetAbbreviationOfId(nCurSetId) + ')'

 

See also : GetNthHolSetId, GetHolSetNameOfId.


Topic 175240 updated on 04-Jun-2003.
Topic URL: http://www.qppstudio.net/webhelp/index.html?getholsetabbreviationofid.htm