Thank you. You saved my time. :)
I took the alltrim off from both side, now it is working fine. I really appreciated your help Lviv.
I am a student and new to VFP, but I really like it. I think it is simpler then other languages I have done.
Thanks again
Lal