{{tag>Function Function_List Reports_And_Documentation}} ====== NESTING_LEVEL ====== ===== Description ===== Returns the level of nesting of the currently executing subreport. Master report has nesting level 0, the subreport of the master report has nesting level 1, the subreport of the subreport has nesting level 2 etc. **note** To be used only inside tags in the Report Designer ===== Syntax ===== ''NESTING_LEVEL'' Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== None ===== Returns ===== **Number**: the nesting level of the current subreport (the master report is 0); for tags in the Report Designer only. ===== Example ===== None ===== Related ===== [[ref:a_f:f:af:page_number|PAGE_NUMBER]], [[ref:a_f:f:af:number_of_pages|NUMBER_OF_PAGES]]