I have an access 2000 database and i want to populate a treeview control in a vb 6 project with a table from the access database. I need a procedure that will accept as a parameter an ado recordset and populate the treeview from the records. The procedure will look like this : Private sub PopulateTreeview(Rst as [url removed, login to view]) 'Populate treeview control end sub The structure of the underlying table for the ado recordset is this Field ===================== PKNodeID ----This will be stored in the node as the key value with a prefix string "Node" (because key must be strings) Description -- This will be stored in the text property of the node ParentID -- This contains the value held in field PKNodeID correspondig to the Parent of the current record. Included are some sample data in an access database
1) a module file (.bas) with a vb project and vb form that will be working with the sample data i have provided. 3) Complete ownership and distribution copyrights to all work purchased.
windows 98 ,2000, xp