PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → [WM24] App is running incredibly slow
[WM24] App is running incredibly slow
Iniciado por RobertLEO, out., 30 2019 8:56 AM - 2 respostas
Membro registado
36 mensagems
Publicado em outubro, 30 2019 - 8:56 AM
I have deployed my app into a tablet to stress test it, and it takes a good 3-5 seconds to open a menu, and the app would come to a grinding halt for up to 30 seconds or more when it attempts to open combobox that contains a huge amount of records (about 12,000-ish), is there any way to optimize the loading speed? I am really at the end of my wits and I'd appreciate any help

Extra information: The database that contains the DB used by the app is stored in a cloud server
Membro registado
12 mensagems
Publicado em janeiro, 04 2020 - 11:59 AM
Switch from combo to a window with a looper. Load the looper "in scroll", 1000 records each time. You open the window with openchild and use the returned value to fill what you have ti fill!
Membro registado
36 mensagems
Publicado em janeiro, 12 2020 - 1:30 PM
REVOLUTIONCHAIN wrote:
> Switch from combo to a window with a looper. Load the looper "in scroll", 1000 records each time. You open the window with openchild and use the returned value to fill what you have ti fill!

yeah I dropped the whole combo box idea (because making the users scroll through thousands of data is absurdly stupid when I think about it) and trimmed the data, as well as increased the bandwidth transfer rate, now it works better