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