Children

Takes two parameters, ChildTableName, Mode

Description:

The Attached Children Records will be added to the Query, using the specified mode. If more than one Parent Table exists in the Query, Child Records will be matched to any and all of the Parent Tables. So if you have 2 Parent Tables in the Query, the number of children would be doubled. 

Mode must be one of: "All", "One", "Discard"

Examples:

SetNew      "MemTab.Person.Alias", ($SessionUser)
Children "ToDo.List"
Children "ToDo.Item"
KeepIf "ToDo.Item.Alias", =, `pItem