Hi
I am using a TreeView Control (MS V6.0) in Access 2000. It works fine.
For a given node I want to be able to determine the level of the node (I presume the root is level 0, child nodes under that will be level 1 and so on)
The treeview control is called TV1 and I can access vairous properties of the node like 'Text' and 'Key' using Me!TV1.Text and Me!TV1.Key.
But I don't know how to get the level.
I read somewhere that in ASP.NET there is a function called NodeLevel(node) that returns the level - is there something similar in Access/VB ??
Thanks
I am using a TreeView Control (MS V6.0) in Access 2000. It works fine.
For a given node I want to be able to determine the level of the node (I presume the root is level 0, child nodes under that will be level 1 and so on)
The treeview control is called TV1 and I can access vairous properties of the node like 'Text' and 'Key' using Me!TV1.Text and Me!TV1.Key.
But I don't know how to get the level.
I read somewhere that in ASP.NET there is a function called NodeLevel(node) that returns the level - is there something similar in Access/VB ??
Thanks