Hi! I would like to check some of the attributes of the next to last item of a list of items, e.g. recorded trees. How do I do that? Thanks! asked 09 Oct '14, 20:56 Andras |
Suppose that you have a calculated attribute tree_num inside the "tree" entity using this expression: idm:position(); then you can select the trees from next to last item with an expression similar to this (valid for attributes defined inside the "tree" entity): parent()/tree[tree_num > $this/parent()/tree_num]. The expression $this/parent()/tree_num is used to reference the tree_num of the tree into which the attribute is defined. Thanks. answered 09 Oct '14, 21:39 Stefano (OF) ♦♦ |