First thing that comes to my mind:
FOR EACH oNode IN thisform.oleTree.Nodes
IF TYPE("oNode.Child") # "O" .OR.;
ISNULL(oNode.Child)
oNode.Enabled = .f.
ENDIF
ENDFOR
(not tested)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.