0

Is there a way to refresh the screen to update a html progress bar in a for loop?

My code is as follows:

let ofxSelected := (select OFXEntries);
let countOFXSelected := 0;
let countOFXAlreadyPosted := 0;
for selectedOFX in ofxSelected do
ProgressValue:= (countOFXSelected / count(selectedOFX))*100;

… more code in function

end;

The for loop executes properly but it only updates the screen at the end of the loop.
This defeats the purpose of a progress bar.

1 reply

null
    • Sean
    • 3 yrs ago
    • Reported - view

    Hi Dave,

    If you have your HTML progress bar in a Formula field it should update properly. I found that implementing progress information in the Mac app is so fast that I use it only when I use the http() function which can take a little while for each call.