Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tablereverting Buffered Data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00223740
Message ID:
00224691
Vues:
24
You have to buffer the data the old-fashioned way for the edit-phase.

SCATTER MEMVAR before edits are allowed and GATHER MEMVAR if reverted.


If you want more control over individual reversions, then you can use the GOTFOCUS and LOSTFOCUS events for each control. You can store the original information in the controls TAG property (As a string), or you can create variables.








I have a form where I enter information in a table buffer. It is a parent/child relationship for which I will be doing transactions.

If a record is added it goes into the table buffer. If I want to edit a piece of information on that record I call it to edit.

Now, here comes the question. If I make a change and then decide I don't want that change, what do I do? If I hit tablerevert it takes the record out of the buffer.

Any ideas?????
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform