in a control form I have a php methods that opens a sc_select and reads a thousand records and performs operations on the individual values contained.
The process takes about a minute and I’d like to show a progress bar showing the percentage of completion.
Is there no way to show the effect of the bar growth function on each record pass?
Try this approach
yes I used the same code to create the progress bar.
But the problem is not the bar that works perfectly.
The problem is that inserting it in the function of reading sql of the records, the “display” of the growth of the bar is not seen until the end of the function when it is 100% complete.
I do not know if I was clear.
Best you could probably do is put up some kind of ‘waiting’ or spinning wheel, etc that could be there until the process returns.