ChildCount

Tinderbox Icon


Attribute Data Type:   number
Attribute Default Value:   (not set - 0)
Atrribute Group:   General
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.


Up: System Attribute List
Previous: BorderColor  Next: Color 

[Last updated: 14 Dec 2009, using v5.0]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox