I'm glad to help. Dan's suggestion is more flexible...I should not have hardcoded the length like I did.
>Thanks a lot Steve for solving my problem. I didn't know that the first output of a SELECT-SQL statement determines the output length of the rest of the records. Now I learned again.
>
>Have a nice day.
>
>Nerissa
Steve Gibson