How do I test if a treenode is selected? I can do this to get the current node but the reference field doesn't come back empty if no node is selected. Set Referrence RefField to MyTree.$currentnode I need to know if the RefField has nothing in it. Thanks to all help, Brian