Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCATTER MEMVAR MEMO making me crazy
Message
De
05/06/2001 13:24:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00514676
Message ID:
00515255
Vues:
16
>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.
>

I do the whole thing with buffering. In append mode, I APPEND BLANK right to the table (which is, of course, a buffer). I do prefer to work with table buffering than row buffering, but you can do this either way.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform