Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
May 01, 2012 11:57 AM|LINK
Assign the Txt1 variable to an Empty string before you check it in the below line
if (Txt1.Length > 0)
So, moidfy that line as below
Please 'Mark as Answer' if this post helps you.