Nishit,
Sincerely, I have many, many, many problems with VFP 5.0 (if this what you are using). I suggest you to change it, they said there's a VFP 5.0a that come with fixes.
I'm so tired working with VFP 5.0 that I think it's the worst version of Foxpro I use. Let me discharge...
Luis Walter Segovia Castillo
Software n' Hardware Engineering
Studying 4th year at Universidad Evangélica Boliviana
BOLINTER Ltda