Hi, I have the following table in access and I am trying to code a treeview control on a form to populate the treeview from the table. The data in the table is similar to that below. I was wanting to use this structure so there is no restriction on the amount of levels. I was hoping to call a function on itself which I have tried but after 3 levels I loose a reference to the original parent. Any help would be much appreciated as I have been searching for a while
_______________ _______________ _______________ _______________ ____
Thanks in advance
Euan
_______________ _______________ _______________ _______________ ____
Code:
Asset_ID Asset Parent_ID 1 Pump 0 2 UPS 0 3 Transmitter 0 4 UPS & Battery 2 5 Battery Banks 4 6 Battery Charger 4 7 Interconnecting cables 4 8 Test1 7 9 Test2 7 10 Test3 6 11 Test1a 8 12 Test1b 8 13 Test1a_1 12
Euan
Comment