Yes. Unfortunately, the Rlock() only forces a refresh of the table that was locked. In order to refresh everything all tables, you can use Aused() and cycle through the array.
>I use your earlier suggestion. however, how to refresh all tables: I need to make loop over all opened tables in current data session.
>
>* forcebufferrefresh method
>
>lpara lcAlias
>if rlock( str(int(recc( m.lcAlias)*rand())), m.lcAlias)
> * it updated; continue processing
> unlock in (m.lcAlias)
> else
> * don't know; you decide what you want to do
> on error NOTE
> inkey(1)
> seterror()
> endif
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao