Chapter 10: TreeView example
In the TreeView example on pages 311 and following in Chapter 10, I was hoping to be able to set the Image and Selected Image parameters for a given node based on values in the underlying table. However if I set these parameters to fields in the source query I get the following run-time error:
Microsoft Visual Basic
Run-time error '35603':
Invalid key
Is there a way around this error? The values I'm pulling from the table are numeric, between 1 and 4 , and all have corresponding images in the ImageListCtrl.
|