Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh Buffered Data before Update
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127206
Message ID:
00127241
Vues:
29
If you DO NOT have pending changes in your buffer, then issuing an Rlock() WILL refresh your buffers. If however, you have a pending change, you will need to use the the CurVal() Function to see what the value on disk is. For consistiency, you may want to use this method in all cases.

>If a record lock is issued just prior to tableupdate(), will it refresh the buffered data ?
>
>Example: A form has table A and Table B in the DE with opt. row buffering. The user seeks a record in table B and then does some work with table A. When the user is ready to exit, a single field needs to be updated in the current record in table B, I am thinking a record lock (refreshes buffer in case another user has made changes) then the replace of single field, and then tableupdate(table B). I need table B with opt. row buffering in this form for other functions of the form or I would open B with no buffering and use record lock.
>
>Thanks CB
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform