Hello everybody Thanks for your advice |
Hi, You have to write expression in "Default Value" math:max(parent()/tree/tree_id)+1 where tree-is Entity tree_id - is Number attribute best regards beka |
when I try this I get the following error message: [RPC Fault faultString="Circular dependency found in graph for node /inventur/plot/pb[2]/baumnr_neu" |
can you tall me names of tree "Entity" and "Number attribute" from you survey? |
the "Entity" is pb and the "Number attribut" is baumnummer_neu |
under baumnummer_neu, try this expression in "Default Value" math:max(parent()/pb/baumnummer_neu)+1 |
Unfortunately, that doesn't work. In collect the tree number is not adjusted and in collect mobile it crashes when I add a new tree. |
see also picture example from our survey
|
I can't explain why it's not working. I do everything the way you do it. Maybe I can send you a screenshot? |