IF NOT ISNULL(thisform.oleTree.SelectedItem.Parent)
oParent = thisform.oleTree.SelectedItem.Parent
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.