Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter/Gather vs. Buffering?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00220482
Message ID:
00220540
Vues:
30
>I was told to use SCATTER and GATHER with an "m.fieldname" in my ControlSource property
>
>vs.
>
>using "mytable.fieldname" with table buffering turned on using a value of "2" for buffering
>
>because that is the preferred usage in a networking environment for sharing of records according to the person I am working with.
>
>I don't believe it. I thought SCATTER and GATHER was old technology compared to table buffering, and I would much rather use table buffering if I dare.
>
>Which way is better? I think they accomplish the same thing, but the latter seems easier to me. Thanks for clarifying.
Hi Steve,
I strongly recommend you to use buffering. which one to use ?,
it depends on your needs, programming style, etc..
In example if you need to update several records in a table one by one
you should use "table buffering", either pesimistic or optimistic,
depending on whether you want two users to change the same record
at the same time or not. Pessimistic prevents two users to change
the same record, is more secure, but it can slow operations, optimistic
is more efficient, but you have to take care of changes made for another
users. Check the online documentation in Fox, is very clear on that, also
the samples that comes with it.

Hope this help, good luck.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform