Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do program transaction within transaction
Message
 
À
07/06/2010 17:25:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01467775
Message ID:
01467776
Vues:
53
>In form1 user is presented with a list of dates worked. He can chose to add a new date or edit an existing date at which point form2 (or page2) appears allowing entering values for that date. When done with form2 user can choose to save or cancel changes made. This is not a problem. It can be handled by buffering data tables and either commiting or rolling back.
>
>Problem is, I would like to also allow user to change many dates in one session and then either commit or cancel changes made to all dates including the ones just added.
>
>I believe this can be handled by transactions within a transaction but I don;t know how to do it. I am using Codemine framework. All help is appreciated.
>
>TIA,
>
>Alex

This also can be done with TABLE buffering :-)
Just the final TABLEUPDATE() or TABLEREVERT() should be changed to commit all records.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform