G
Guest
Hello,
I have setup a treeview control with just one level, as follows:
Trvw.Nodes.Add , , "Root0", "Parties-Appellant"
Trvw.Nodes.Add , , "Root1", "Parties-Respondent"
Trvw.Nodes.Add , , "Root2", "Citation"
Trvw.Nodes.Add , , "Root3", "Date"
I would like to also set up a case statement where if the user chooses
"Parties-Appellant", one subform which will actually be a search screen will
come up, if "Parties-Respondent", another subform to search on, etc..
however I'm not sure what value to pass to the case statement to test what
value they have chosen. I tried the node.index value which doesn't seem to
work. Any suggestions would be greatly appreciated. I'm new to the treeview
control.
I have setup a treeview control with just one level, as follows:
Trvw.Nodes.Add , , "Root0", "Parties-Appellant"
Trvw.Nodes.Add , , "Root1", "Parties-Respondent"
Trvw.Nodes.Add , , "Root2", "Citation"
Trvw.Nodes.Add , , "Root3", "Date"
I would like to also set up a case statement where if the user chooses
"Parties-Appellant", one subform which will actually be a search screen will
come up, if "Parties-Respondent", another subform to search on, etc..
however I'm not sure what value to pass to the case statement to test what
value they have chosen. I tried the node.index value which doesn't seem to
work. Any suggestions would be greatly appreciated. I'm new to the treeview
control.