hi mohammed this just an friendly advise, please use naming convention when posting so that we can easily read your code and better understand. In the end we can reply to your post easily.
you can go to VFP help then look for naming convention
best regards
Roses are #FF0000 Violets are #0000FF all my base are belong to you