I've got this code to generate a tree view list box from a recordset but i need to know how to:
On double click chnage to value of a child node and also to know which valve is selected from the list.
Code:
lisPipes.Nodes.Add , , "PON" & rsPipes!Pon, rsPipes!Pon
lisPipes.Nodes.Add "PON" & rsPipes!Pon, tvwChild, "Type" & rsPipes!Pon, "Type: Null"
lisPipes.Nodes.Add "PON" & rsPipes!Pon, tvwChild, "InPack" & rsPipes!Pon, "InPack: Null"
lisPipes.Nodes("Type" & rsPipes!Pon).EngksureVisible
Thanks
On double click chnage to value of a child node and also to know which valve is selected from the list.
Code:
lisPipes.Nodes.Add , , "PON" & rsPipes!Pon, rsPipes!Pon
lisPipes.Nodes.Add "PON" & rsPipes!Pon, tvwChild, "Type" & rsPipes!Pon, "Type: Null"
lisPipes.Nodes.Add "PON" & rsPipes!Pon, tvwChild, "InPack" & rsPipes!Pon, "InPack: Null"
lisPipes.Nodes("Type" & rsPipes!Pon).EngksureVisible

Thanks