How to Insert a Tree View
To insert a tree view:
For example, if you want your tree view to display employees per department, you need two tree view nodes.
Tree View Node 1
For example, if you want to display employees per department, then for the Root Nodes property of the tree view specify the tree view node that is going to retrieve departments.
For example, if you want to display employees per department, then for the Child Nodes value of the root node, specify the tree view node that is going to retrieve employees.
Depending on the complexity of the data structure, you may need to enter more than one Child Node, and/or more than one Root Node. You can enter multiple values in a Property Inspector text box by typing the first value, pressing CTRL+ENTER, typing the second value, and so on. Each of the values will appear on a new line.
In the example, the query for the department tree view node would be:
The query for the employee tree view node would be:
WHERE dep_name = :DEP_NAME
The :dep_name identifier refers to the dep_name column in the query of the department tree view node.