Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement