Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCATTER MEMVAR MEMO making me crazy
Message
 
À
05/06/2001 08:22:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00514676
Message ID:
00515070
Vues:
17
>In VFP, buffering is definitely the better approach. That's the one that's
>going to continue to be enhanced as needed. Except for SCATTER/GATHER NAME,
>SCATTER/GATHER are pretty much supported only for backward compatibility.

>Seems to me his argument is pretty much the same as saying that he only wants
>to use @GET/READ in VFP because he understands them.

I think, in many cases these commands may be very useful.
For example, if you want to provide cancelling of record appending.
Here brief description of idea:

DO FORM EditForm WITH .T. && New record

PROCEDURE INIT(AppendMode)
IF AppendMode
SCATTER ... BLANK
ELSE
SCATTER ...
ENDIF

PROCEDURE OkButtonClick
IF AppendMode
APPEND BLANK
ENDIF
GATHER ...

Of course, you can use BufferMode=5, but I prefer this way.

Alexander
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform