Page 1 of 1

How to use corretly SYSREFRES() function

Posted: Wed Apr 07, 2021 7:21 am
by mauri.menabue
Hi All,

I would like clarification on how to use the sysrefresh function correctly.
The function should be used within a FOR or WHILE loop or rather it should
be used before or after the loop itself .

Thank

Re: How to use corretly SYSREFRES() function

Posted: Wed Apr 07, 2021 8:04 am
by Antonio Linares
Mauri,

If the loop takes too much time, then a call to SysRefresh() is needed to allow Windows process pending msgs