Question : Building a TreeView

I know a little VBA from building Access Apps but I  can't grasp the code in TreeView.  I want to build a TreeView in my for that allows for a searchbox and the when objects are selected in the tree, other contrrols on the form will be updated to display data on that selected field.

My data source is qryHierarchy.  The fields are ParentID, ParentName, GroupID, GroupName, ClientID, ClientName.  I want to show the name fields: Parent - Group - Client in the tree.  

Can someone help get me started on how to code this?

Answer : Building a TreeView

Sure, I'll take a look at that for you in the morning. I can also include the treeview control Onclick event.

But keep in mind our treeview population code is based on a mutli level structure, and not fixed like yours.  As long as your can build your sql to define the Parent/Child releationship, it should work.
Random Solutions  
 
programming4us programming4us