P
peterzeke
Hello: I'm new to using a treeview on a form.
I have a main form that contains a treeview. On the main form are two
subforms. One subform (sub A) displays data based on the selected node on the
tree. The second subform (sub B) displays any subordinates that are related
to the initial subform.
If I add additional records (i.e., subordinates) to the second subform (sub
B), how can I get the treeview to reflect the additional records (i.e.,
subordinates, nodes...) without having to close the entire form and then
reopen it?
All of the examples I come across on the internet show the treeview being
populated during the OnLoad event of the form, but nothing seems to exist for
refreshing a treeview when the underlying data changes (additions,deletions).
Any help on this will be greatly appreciated!
thanks,
Pete
I have a main form that contains a treeview. On the main form are two
subforms. One subform (sub A) displays data based on the selected node on the
tree. The second subform (sub B) displays any subordinates that are related
to the initial subform.
If I add additional records (i.e., subordinates) to the second subform (sub
B), how can I get the treeview to reflect the additional records (i.e.,
subordinates, nodes...) without having to close the entire form and then
reopen it?
All of the examples I come across on the internet show the treeview being
populated during the OnLoad event of the form, but nothing seems to exist for
refreshing a treeview when the underlying data changes (additions,deletions).
Any help on this will be greatly appreciated!
thanks,
Pete