GetHolAncestorIdFromTable

Navigation:  Appendices > Macro Language > Built-in Functions > Holidays >

GetHolAncestorIdFromTable

Previous pageReturn to chapter overviewNext page

int = GetHolAncestorIdFromTable()

 

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

 

The ancestor of a holiday is the very first holiday from which a holiday might have been copied, either within the Holidays Manager or using the Data Pump.

 

Accessing the ID of a macro is useful in advanced holidays macros, when one wishes to make wholesale changes to all copies of a particular holiday, or to holidays that were originally copied form the Q++ Worldwide Public Holidays Samples Database.

 

Apart from returning the ID of a the current holiday's ancestor, rather than the ID of the current holiday itself, this function works exactly the same way as the function getHolIdFromTable.


Topic 178610 updated on 15-Oct-2007.
Topic URL: http://www.qppstudio.net/webhelp/index.html?getholancestoridfromtable.htm