Using the TREEVIEW control...

  • Thread starter Thread starter Brad Pears
  • Start date Start date
B

Brad Pears

I want to use the treeview control in an Access 2000 app I am working on. I
have never really used this control before - but after seeing what I can do
with it - I believe it is the right fit for one of my forms...

Question... I have been playing around with it but have a few problems...
Does anyone have some sample code on using treeview they could point me too?

Also, do I need to add a reference for this to work properly because I can't
seem to get the proper methods to be displayed and I don;t see any
particular reference that I would use... I added the Treeview ActiveX
control to my form and was hoping that might be all I need...

Thanks,

Brad
 
First, I will say if you can avoided the control for reasons of
distribution, then you should
(you need to ensure that you have the developers edition of the control, and
that you also providing a packaging, and install means for when you deploy
to other machines. (note that you can't just copy the activeX control, as
there is licensing controls built into activeX - you need a distribution
version).

Further, often for a simply drill down, I do use two sub forms, and there is
some screen shots here that might give you some ideas:

http://www.members.shaw.ca/AlbertKallal/Articles/Grid.htm

And, for some treeview articles, here:

ACC2000: How To Fill a TreeView Control Recursively
http://support.microsoft.com/?id=209891

ACC2000: Example Using TreeView Control Drag-and-Drop Capabilities
http://support.microsoft.com/?id=209898

ACC2000: How to Migrate from Data Outline Control to TreeView Control
http://support.microsoft.com/?id=209927


ACC97: Microsoft Access 97 ActiveX Controls Sample Database Available in
Download Center
http://support.microsoft.com/?id=165437
 
Back
Top