Hi!
Im using the Treeview ActiveX control in order to display a hierarchy scheme.
Im using a loop to go thru a record set and display the part descriptions. it works fine until i get to a certain point and i get a "Index Out of Bounds" runtime error 36500
i think its because i have too many nodes or something - but i only have about 12-14! maybe the index # can only go to a certain #??
also each node has maybe 1 or 2 child items - the error happens when i try to attach an child item - usually to the last node. im using an unique ID and a parent field which tells each record which node it is a child of...
ie
ID PartID Parent
1 1 0
2 2 1
3 20 2
4 11 3
ID 2 is a child of ID 1
ID 3 is a child of ID 2
ID 4 is a child if ID 3
etc...
does anyone know what i mean or know how to get around this?
Im using the Treeview ActiveX control in order to display a hierarchy scheme.
Im using a loop to go thru a record set and display the part descriptions. it works fine until i get to a certain point and i get a "Index Out of Bounds" runtime error 36500
i think its because i have too many nodes or something - but i only have about 12-14! maybe the index # can only go to a certain #??
also each node has maybe 1 or 2 child items - the error happens when i try to attach an child item - usually to the last node. im using an unique ID and a parent field which tells each record which node it is a child of...
ie
ID PartID Parent
1 1 0
2 2 1
3 20 2
4 11 3
ID 2 is a child of ID 1
ID 3 is a child of ID 2
ID 4 is a child if ID 3
etc...
does anyone know what i mean or know how to get around this?