Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent and Child TableRevert?
Message
From
03/07/2001 11:21:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00526287
Message ID:
00526314
Views:
18
Visual FoxPro keeps changed (and new) records in a buffer. New records have negative numbers (recno() returns "-1" for the first record the user adds, "-2" for the second, etc.). Definitive (positive) values for recno() are available only after the record is successfully saved with TableUpdate().

You can either try to save all new and modified records (HELP TableUpdate()), or, if you feel the need to do this, save one record at a time (HELP GetNextModified()).

You can also test whether the current record is modified, new, or unchanged (HELP GetFldState()).

Regards, Hilmar.

>I see, but in that case, can i APPEND BLANK to add records to the tables? How does it know how many to rollback?
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
Next
Reply
Map
View

Click here to load this message in the networking platform