` Printed Icetips Article

Icetips Article



Par2: How an ABC browse is refreshed
1999-04-19 -- Jim Kane
 
> Can anyone explain how a Browse list can be configured to automatically
> refresh (i.e., update) its contents.  I would like to have a Timer event
> cause the data displayed in a Browse window to refresh periodically,
> especially when the window is in the "background."
>

If records are being added or updated by another process, to see them you need to flush 
the view then refresh in the timer embed:

flush(Brw1.view)
ThisWindow.Reset(1)

It will be relatively inefficient so if possible define a custom even and post() it to the

browse when it should be refreshed and avoid a timer. Put the above code in the 
embed for when that custom event is received rather than on a timer.



Printed November 21, 2024, 7:01 am
This article has been viewed/printed 35208 times.