>even if you succeed to solve this problem, your program will not correctly run in XP. when my program append a record in xp, foxpro crashed so i return to win98.
That's not true on my XP pro system. I can append records w/o any problems using Foxpro 2.6 for Windows. Perhaps you have some table/index corruption that is causing Foxpro to crash on your XP system.