>hi,
>thank you for reply,and for your time .
>i get the idea ,that's good thinking.
>som thing else if you can help.
>i need to save all data at mytable ex..
>at command botton
>append blank
>gather memvar
>it,s better at the pageframe,or at myform .
APPEND BLANK and GATHER MEMVAR is the old approach, from the FoxPro days. The modern, and much better, approach, is to use buffering.
One way or the other, I would place the corresponding in a form method, which you can call, for example, OnSave(). Putting this on a form method will require less changes, if you later decide to change the form layout (for exmaple, get rid of the PageFrame).
On a button on the form, you can then invoke:
ThisForm.OnSave()
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)