Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    173

    Unanswered: Refreshing a TreeView Control

    I have a TreeView Control on a Form.

    There are Buttons on the Form that Open a Form Add a New Category to the TreeView. The Form Works, and the Category is Added, however; I cannot see the Newly Added Data unless I close the Form and Repoen it.

    is there a way to Refresh a Treeview Control?

    I have code in the OnLoad Event that populates the TreeView - I suppose I could run that again, but I am wondering if there is a better way..

    Thanks - AB

  2. #2
    Join Date
    Nov 2003
    Posts
    1,487
    Try this:

    DoCmd.Requery "myTreeControlName"

    OR

    Me.myTreeControlName.Requery


  3. #3
    Join Date
    Aug 2004
    Posts
    173

    Requery a TreeView

    Quote Originally Posted by CyberLynx
    Try this:

    DoCmd.Requery "myTreeControlName"

    OR

    Me.myTreeControlName.Requery


    I tried this and it does not work :-(

Posting Permissions

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