>Naomi,
>Thanks.
>Just need to fine tune it to take out only those lines after the last character.
>Yau
If you need to remove characters at the end, then use Sergey's answer. It's using new capabilities of RTRIM function in VFP9.
If it's not broken, fix it until it is.
My Blog