ChildCount

Tinderbox Icon


Attribute Data Type:   number
Attribute Default Value:   (not set - 0)
Atrribute Group:   General
Atrribute Purpose:   Calculated data
Attribute Inherited from Preferences?     No
Attribute Read-Only?   Yes

Returns (read-only) the number of children belonging to the current note. This returns the count of direct children (i.e. one level down) and not all descendants. For a count (usually larger) of all notes below this see DescendantCount.

Usually, rules and queries to test whether a note has children will test ChildCount. But for export use ^if(^childLinks^)^... is better if you want the expression to be false if the note has children BUT none of the children are exported.

Note that the count includes adornments.


Possible relevant notes (via "Similar Notes" feature):

Up: System Attribute List
Previous: Checked  Next: CleanupAction 

A Tinderbox Reference File : Attributes : System Attribute List : ChildCount

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox