UtterAccess Discussion Forums
  UtterAccess Home  | Forums Index  | Search  | Links DB  | FAQs   
Microsoft® Access help forums plus Excel, Word, Outlook®, Visual Basic®, SQL Server®, Office online and... many more!

Access UtterAccess!
New? Welcome!
Join UA here!

Members Login


Password


Remember me!


Search The Database

More Links

  UtterAccess Links
  Link to UtterAccess
  Call UtterAccess Home
  Add UA to Favorites

Quick Jump



UA Recommended

Access Team Blog

UA Recommended

UA's own ScottGem
      and datAdrenaline!

Servers tuned by
Vaultechnology
TreeView Control Displaying Hierarchical Data (Supervisor &

TreeView Control Displaying Hierarchical Data (Supervisor &  Version: 2000 (9.0)

Posted on 03/14/07 11:44 AM Attachment (1120 downloads)
Posted by dallr - Utter Access VIP
Posts: 2969 - Loc: From the land of the Access Ninja's

Forum: Access Code Archive
• Edit
• Reply
• Quote
• Quick Reply
• Print this post
• Bookmark Post
• Notify Moderator

• Top of page
Hey guys this is an example of displaying hierarchical data using a treeview control. It can come in very handy when you want a convenient way to show who a particular employee reports to in an organization.

I have set this up quite user friendly, in that you can easily apply it to your own applications by just calling the function . PopulateTree

Basic Steps
1. Download the attachment and extract it to your C: drive. C: drive.
2. Open the form and select “Thomas Pantin” who is the managing director and you will see all the employees under him.
3. If you want to print a report displaying the tree view data in the same format this can also be done clicking the button on the form.

When the tree is displayed you can then click on an individuals name and see further details of them on the controls on the Right hand side of the form including their picture.

Dallr


--------------------
If I have good Relationships I can have Access to anything.

“You CAN'T be a Leader , if you're NOT a Reader”.

Page Jump
Pages: 1

Navigate
Post List
Previous thread Previous
Next thread Next

Thread Options & Info
• Threaded
• Print Thread

• 5488 Thread views

Page Jump
Pages: 1