Thank you Darrel, dumping the i= does correct the problem. I don't do much programing in basic, primarily in c and java. I guess I need to pay a bit more attention. Just one question shouldn't the compiler throw a syntax error? With the improper syntax it compiles without error.
Bookmarks