Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very basic question about the Update of data
Message
 
To
16/02/2002 04:18:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00621075
Message ID:
00621103
Views:
16
Murali,

If you want to keep doing things the 2.x way and gain no benefits from VFP you can do what Chris suggested. However if you want to learn how to do it in VFP I suggest you investigate data buffering and forget about the memvars.

You need to look up Buffering, TableUpdate() and TableRevert(). In psuedocode you want to ...

1. Make sure your table is buffered
2. APPEND BLANK (for a new record) or locate the record for editing
3. Let the user edit the fields in the record
4. Use TableUpdate() to save their work or use TableRevert() to discard the edit or append.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform