>hi,
>thank you for replay.
>
>be pationt.pls
Yes, don't worry.
>i dont know how i can use buffering,i see this word at (tools,option,data,at the bottom of page i see buffering off)
If you don't know about buffering, I think you should start by reading my introductory article on buffering:
http://www.utmag.com/July2002/Page6.aspAlso, the VFP Programmer's Reference (part of the help) has chapters that explain buffering.
>about save information.
>you mean i can write this code(thisform.onsave())
>at myform via command botton.
Yes, the idea is to write the code:
ThisForm.OnSave()
in the Click() event of a CommandButton.
In the form, create a method called OnSave. In the OnSave method, write any commands you require, to save the record.
For example (old method):
append blank
gather memvar
New, recommended method (using buffering):
if not TableUpdate()
MessageBox("Can't save the record.")
endif
The examples are highly simplified, for didactical purposes.
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)