Results 1 to 3 of 3
  1. #1
    alain17 is offline Novice
    Windows 7 64bit Access 2002
    Join Date
    Apr 2016
    Posts
    11

    Treeview automaticly filled with datasource property ?

    Hello,


    I guess the question has been asked multiple times.
    Sorry to ask it once again, but what I found didn't quite meet my request.




    I have an Access table called "Category" with the following fields:


    N_Category: auto num - identifier of the category (unique key) - long int


    Category: category name - string


    ParentCategory: contains the N_Category ID of the parent category




    Is there a TreeView type hierarchical list control that can be filled in automatically (i.e. without code) by indicating the source table (like a form or a drop-down list to which a table is linked in the "Source property ")?


    I couldn't find the source property in the OCX Treeview 6 that came with Access 2016.




    If that doesn't exist, I'll write the necessary VBA code, but the first solution would be better ;-)




    Thank you !


    Alain

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,535
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,906
    He appears to be a serial cross poster as well Bob. Just crossposted two new threads.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Execute SP from Access as datasource
    By jaryszek in forum Access
    Replies: 4
    Last Post: 01-18-2018, 03:32 AM
  2. Replies: 12
    Last Post: 11-14-2017, 12:46 AM
  3. Automaticly genrate file Path name with Query
    By kiwikiki718 in forum Access
    Replies: 2
    Last Post: 04-08-2017, 05:28 PM
  4. Combobox datasource SQL question
    By hascons in forum Queries
    Replies: 3
    Last Post: 04-17-2014, 01:32 PM
  5. Automaticly Setting Default Value
    By swicklund in forum Forms
    Replies: 5
    Last Post: 06-17-2013, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums