>So do I understand you correctly that you could not make string.empty to work as you thought it should?
Well, only from the standpoint of my thinking that a string with spaces in it should compare true to string.empty. Obviously whoever designed that feature doesn't agree with me. <g>
>And thank you for the suggestion to use .Trim and compare with "".