Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pages
Message
From
25/05/2004 11:28:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/05/2004 11:15:59
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Pages
Miscellaneous
Thread ID:
00906818
Message ID:
00906960
Views:
27
>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.asp

Also, 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)
Previous
Reply
Map
View

Click here to load this message in the networking platform