I have a process that generates documents looping a table. In SmartClient processing 460 records takes 7 minutes while in WebClient just 1 minute.
Is that related to Servoy6 RC2 or just a difference between SmartClient and WebClient?
Thanks.
I have a process that generates documents looping a table. In SmartClient processing 460 records takes 7 minutes while in WebClient just 1 minute.
Is that related to Servoy6 RC2 or just a difference between SmartClient and WebClient?
Thanks.
I guess I have the answer.
Inside the loop I have a application.updateUI() to show what is going on, with the webclient that does not work so I tried by commenting the updateUI() lines and nos is much much faster.
Could anyone tell me how to show a progress that does not impact on performance?
The only thing I´m doing is setting a form variable with the number of records processed and the number of records to process. Since that is not enough I have to updateUI() refresh the screen. Maybe there is a way to refresh just one element.
Help will be really appreciated.
Thanks
Hi Juan,
Instead if updating the UI every iteration you can do it every x iterations like so:
for (var i = 0 ; i < 1000 ; i++ ) {
if ( i%20 == 0 ) {
// update only every 20 iterations
application.updateUI();
}
}
Hope this helps.