wwUtils::ForceTableRefresh

Refreshes a table's read buffers, by explicitly moving the record pointer. This causes VFP to re-read buffers from disk, to ensure data is not coming from the data refresh cache in VFP.

Use this before performing READ operations that are timing sensitive. In Web Connection for example this function is used for Session table ID lookups to ensure IDs are avaiable immediately.

o.ForceTableRefresh(lcAlias)

Parameters

lcAlias
Optional - active table alias to refresh. If not specified current ALIAS() is used.


See also:

Library wwUtils

© West Wind Technologies, 1996-2022 • Updated: 10/03/14
Comment or report problem with topic