It works now. Not sure why, but I'll take it. I pulled all the IO checking and made a few other changes, sent the data to a listbox to make sure it was working right and it went there just fine. Changed several other minor things and suddenly it wrote a file to my HD with the correct data. So I want to say thanks to all who offered help. You help is much appreciated. Now I can continue to try and learn more on using this language going forward.
Thanks again.
Jim