Well, it's nice to know that I can contribute something useful SOME of the time... :)
- Brian
>Thanks Brian, I tested this too, and my original code works with the additiona of your two lines:
>
>lcMyVal = STRTRAN(lcMyVal,CHR(0),"")
>lcMyVal = ALLTRIM(lcMyVal)
>
>WOW! Two solutions in one day!
>
>Thanks again!
>Tracy
VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)
www.wulfsden.com