I have a complex tree view which is on a number of forms, it takes a while
to populate so I would like to store this information and then 'set'
existing treeview controls to it. Here is a summary of my code:
Public tv as TreeView
Private sub load_form()
if tv is nothing then
load_tree(tv_main)'populates treeview on form
set tv = tv_main ' this appears to work
else
set tv_main = tv ' this falls over
end if
End sub
If I can set tv to tv_main why can't I do the reverse? Any help appreciated
Regards
Nigel