I built a treview control that collapses/expands fine. I wanted to add event procedures for each sub-node (or Child) node ie, open a query or table for each Child node. I added code to the NodeClick event, but it performs the same event for All child nodes. What am I missing?
Current Process:
Parent 1
Child 1 opens query 1
Child 2 opens query 1
Parent 2
Child 1 opens query 1
Child 2 opens query 1
Ideal Process:
Parent 1
Child 1 opens query 1
Child 2 opens query 2
Parent 2
Child 1 opens query 3
Child 2 opens query 4
Any ideas would be appreciated.
Thanks!