FORMULA LANGUAGE
In a column or window title formula, returns the number of child documents or categories belonging to the current document or category. Only immediate responses count as children. For example, the responses to a main document are its children, but the responses to a response document are not.
Syntax
@DocChildren @DocChildren( defaultString ) @DocChildren( zerostring ;defaultString ) @DocChildren( zerostring ;onestring ;defaultString )
Parameters
defaultString
The return value depends on how you call @DocChildren:
numChildren
Use @DocChildren in window title and column formulas, when you want to indicate how many toplevel responses a particular document has, or how many main documents are within a particular category. This function does not work in any other formula.
This @function is calculated when the document is opened. Results are undefined in cases where the document is not opened, such as printing from a view.
You cannot use this function in Web applications, except in column formulas.
Language cross-reference
ChildCount property of LotusScript NotesViewEntry class
ChildCount property of Java ViewEntry class
Example See Also