Information générale
Catégorie:
Codage, syntaxe et commandes
I'll try a variation on what the others have said...
SCATTER/GATHER were absolutely necessary in FPD/FPW.
With VFP, though, there is a combination of two things that handily replace their need: ControlSource property and buffering (preferably "TABLE" buffering).
The ControlSource names the source/destination of a field to be shown in a control like a textbox, typically a field of a table.
Buffering ensures that the ControlSources that have been changed by an operator at a terminal DO NOT actually go to a file until you do a TableUpdate() on the relevant table(s) (or move the record pointer in the case of "ROW" buffering.
I hope this puts you on a track that helps.
>Newbie question for VFP6:
>
>After devouring several books, scouring the Codebook6.1 framework, and looking over the FPD2.6 and FPW2.6 code (probably what is confusing me) that makes up the apps we are currently running, I still don't quiet understand how to set a form so users can browse existing records and then unlock the records for editing. New, Save, Cancel I've got a handle on OK, but can someone point the way to edit nirvana, I don't mind the rigors of the journey, I'm just not seeing the path.
>
>With humble thanks to all you knowledgeable ones.
Précédent
Suivant
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