Hi everyone,
I'm struggling with the creation of an interactive Treeview.
I've read that the default TreeView control of MS Accesss doesn't work very well on a 64 bit OS.
I've made some tests, and I was able to populate the TreeView, but I get some errors when trying to use the "NodeCheck" event in order to perform certain actions when checking the nodes.
I've found another solution on this website:
https://jkp-ads.com/articles/treeview.asp
These are the functionalities that I'm trying to achieve:
- Add the TreeView on my User Form;
- Auto-populate the TreeView with nodes (with checkboxes) when the form loads, getting the data from a table;
- If the a parent checkbox is checked/unchecked, all the child nodes get checked/unchecked;
- Whenever the user checks a checkbox, filter one field of the form main Recordset using the names of the checked node plus all of the names of the child nodes;
- Add/remove nodes using the user-interface (adding automatically the records to the table);
Is it possible to do all of this stuff with the default TreeView control of MS Access, or do I have to use the classes found on the website I've linked above?
Thanks in advance for the help.