Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is VFP buffering even if you do not want it to?
Message
De
17/06/1996 11:45:46
 
 
À
17/06/1996 11:41:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00002416
Message ID:
00002427
Vues:
37
>>Hi,
>>
>>Can anyboddy figure that one
>
>Evaluate the following information, previous answer was cut off.
SET REFRESH TO nSeconds1 [, nSeconds2]

Arguments

TO nSeconds1 [, nSeconds2]

Specifies if or how often updates are made. nSeconds1 specifies the number of seconds between updates to a Browse or memo-editing window. nSeconds1 can be a value from 0 to 3,600; the default value is 0 seconds. When nSeconds1 is a nonzero value and other users change records you are viewing, those records are updated when the refresh interval elapses. The records you are viewing aren't updated if nSeconds1 is 0.
Visual FoxPro buffers portions of tables in memory on your workstation. nSeconds2 specifies how often these local data buffers are updated with current data from the network. nSeconds2 is the number of seconds between data buffer updates. You can specify a value between 0 and 3,600; the default value is 5. The buffers are never refreshed if nSeconds2 is set to 0.

If you specify a value for nSeconds1 other than 0 but don't include nSeconds2, nSeconds2 is set to the same value as nSeconds1. However, nSeconds2 is set to 5 if you specify 0 for nSeconds1 and don't include nSeconds2.
Performance can be improved by increasing the value of nSeconds2.

Remarks

Tables can be opened for shared use on a network, so it is possible that records you are viewing in a Browse window are being edited by other users on the network.
SET REFRESH affects records displayed in a Browse window opened with BROWSE, CHANGE, or EDIT.
Michael P. Haake
FoxPro Programmer
"Doing the best I can!"
** Retired Air Force **
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform