Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent and Child TableRevert?
Message
 
À
03/07/2001 11:02:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00526287
Message ID:
00526303
Vues:
17
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform