Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent and Child TableRevert?
Message
 
To
03/07/2001 11:02:42
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:
00526303
Views:
16
I see, but in that case, can i APPEND BLANK to add records to the tables? How does it know how many to rollback?

>>Hi
>>I have a form with some textboxes ( bound to a parent table ) and a grid ( bound to a child ). I would like to give the possibility to edit the whole thing and/or to add records throught the grid. The thing is i would also like to provide an undo feature, without having to delete the records when clicking on undo. I think this can be done probably using tablerevert() and/or tableupdate(), but i just can't find the right way to implement this.
>>
>>Thanks,
>>Jaime
>
>You need several TableUpdate() / TableRevert() commands, one for each table.
>
>I assume you want to be able to save / undo changes in several records at once, in the child table. In this case, you have to enable table-buffering. For optimistic buffering, this is option 5:
>
>
>CursorSetProp("Buffering", 5, "MyChildTable")
>
>
>Regards, Hilmar.
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform