Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2004
    Location
    Dallas, TX
    Posts
    77

    Question Unanswered: treeview question in access

    i build a 2-level tree view in access2000 like this:
    +....folder1
    -.....folder2
    ............................. ......file1
    .................................file2
    ....folder3

    first level is folder name, second level is file name
    + means contain something in and could be expand, - means something in and already is expanded, if there is no + or - in the first level, means the folder is empty.

    but i want to have this result:
    first level contains either folder or file not only folder in first level, I can put some symbol before that to tell the first level is file or is folder. for example:
    +. ..folder1
    -. ...folder2
    .............................. ....file1
    ....................... . ....file2
    . ..folder3
    . ..file3

    It's just like to build the folders and files list
    Is anybody know how to build it?

    thanks a lot
    Last edited by huela; 10-05-04 at 23:39.

  2. #2
    Join Date
    Jun 2004
    Posts
    40
    maybe use subdatasheet command from Format . maybe it might help.

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Here is an example from the Forum, perhaps it could help you to start..
    Attached Files Attached Files

  4. #4
    Join Date
    Sep 2004
    Location
    Dallas, TX
    Posts
    77
    This example is so good. Thank you very much. Appreciate.

    It works perfect now.
    Thank you again
    Last edited by huela; 10-06-04 at 13:33.

  5. #5
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Glad that it functions, could you please pass your Form to share knowledge concerning this File browse using TreeView.

    Thanks

  6. #6
    Join Date
    Sep 2004
    Location
    Dallas, TX
    Posts
    77
    hammbakka:

    Here is the file i did.

    By the way, it's not real file browsing. The project for mine is act like a file browsing. In fact it's data between different table
    Attached Files Attached Files

  7. #7
    Join Date
    Sep 2004
    Location
    Dallas, TX
    Posts
    77
    uploading may occur problem.
    if u can't see the attachment, let me know

  8. #8
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Thank you, I could download it. I'll have a look

Posting Permissions

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