Hi All -
I am trying to implement a TreeView control in my form and its not working for me. I have found a few examples of this control and I am trying to adapt the code to my db with little success and I'n not sure of the reason why as it seems pretty straight forward. I keep getting error 438: Object does not support this property or method when I try to run the code. The first line in the code is highlighted. Here is the code:
Any ideas why this isn't working..?
Thanks,
Kev
I am trying to implement a TreeView control in my form and its not working for me. I have found a few examples of this control and I am trying to adapt the code to my db with little success and I'n not sure of the reason why as it seems pretty straight forward. I keep getting error 438: Object does not support this property or method when I try to run the code. The first line in the code is highlighted. Here is the code:
Private Sub Form_Load()
'Manufacture and Testing
TreeCtrl.Nodes.add , , "level1item1", "Manufacture and Testing", "Folder"
TreeCtrl.Nodes.add "level1item1", tvwChild, "frmBASMAIN", "Boating Main", "Form"
TreeCtrl.Nodes.add "level1item1supplementary", tvwChild, "frmAccessibility", "Accessibility", "Form"
End Sub
Any ideas why this isn't working..?
Thanks,
Kev