Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement