Results 1 to 4 of 4

Thread: Hook a treeview component to a database!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Cairo, Egypt
    Posts
    275

    Hook a treeview component to a database!

    Hello,
    Any knows how to hook a treeview control to a microsoft access database? Thanx in advance !

  2. #2
    Addicted Member
    Join Date
    May 2005
    Posts
    168

    Re: Hook a treeview component to a database!

    Hi,

    The treeview control isn't a data aware control so simply create a recordset and populate it manually. I see that you already know how to use ADO. <g>

    Have a good one!
    BK

  3. #3
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: Hook a treeview component to a database!

    Quote Originally Posted by ielashi
    Hello,
    Any knows how to hook a treeview control to a microsoft access database? Thanx in advance !

    Can you post your sql code and I should be able to help you out.
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  4. #4
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657

    Re: Hook a treeview component to a database!

    I have a sample app on my site that populates a treeview from an ADO recordset. The sample shows how to do drag & drop with scrolling with a treeview, but you can pick out what you need from the sample app.
    http://www.thevbprogrammer.com/index...ter=13&Topic=2
    "It's cold gin time again ..."

    Check out my website here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width