Incognitus
10-20-2012, 09:57 AM
I've searched through most of the topics on this site and via google but cannot for the life of me find a decent Treeview Control tutorial that works [read - when I follow it], or an example access database that doesn't lead to a dead link.
I've made one before in Excel, but I've come now to add one to an Access form and it's just not working.
I had this idea that I could pull all the entries from a Datasheet [ID, Name, Parent, ParentID] and loop through each record to add each item in the sheet as nodes to the list. Unfortunately, I can't even add nodes by using the Userform or a ButtonClick event and using Treeview.Nodes.Add(). It always tells me there's an expected =
Has anyone got or know of a tutorial or a database that either does something like I've described above, or even more simply showcases a working treeview so I can find out what I'm doing wrong?
I've made one before in Excel, but I've come now to add one to an Access form and it's just not working.
I had this idea that I could pull all the entries from a Datasheet [ID, Name, Parent, ParentID] and loop through each record to add each item in the sheet as nodes to the list. Unfortunately, I can't even add nodes by using the Userform or a ButtonClick event and using Treeview.Nodes.Add(). It always tells me there's an expected =
Has anyone got or know of a tutorial or a database that either does something like I've described above, or even more simply showcases a working treeview so I can find out what I'm doing wrong?