In my previous message I indicated that once the baud rate was changed, the original program that I posted was working ok.
Then I noticed some errors popping up so I decided to delve further into the program... it didn't look right so I decided to use your untested routines and they worked great.

Thanks again!