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?