Log in

View Full Version : Solved: Any good Treeview Tutorials?



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?

MacroShadow
10-21-2012, 03:24 AM
You won't find anything more complete than this (http://mymsaccessblog.blogspot.co.il/2008/03/my-treeview-project.html).

Incognitus
10-21-2012, 02:07 PM
Thanks! That more or less solved every issue I was having...

... shame a bazillion more spring up! :banghead: