in reply to Re: tie variable
in thread tie variable

Thanks worked out that binding the entry keypess to sub worked