>I use this guy to determine if a parent node has a child node.
>
>if !vartype(oForm.oMyTreeView.nodes(lcMyKey).child)==[O]
>
>But the procedure crashes inside VARTYPE, before the evaluation. Is there a method to help me make sense of this?
>Thanks
>Terry
The node objects in the treeview object have a property called children which is a count of the number of children for the node.
If your checking for children then try :
IF oForm.oMyTreeView.nodes(lcMyKey).children > 0
ENDIF
Jake
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin