My forms has so many objects inside na and muslow down gyud sya if i.load. So is there a way para paspas gihapon pagload bsag daghang objects sa sulod?
My forms has so many objects inside na and muslow down gyud sya if i.load. So is there a way para paspas gihapon pagload bsag daghang objects sa sulod?
What do you mean objects? child forms? controls?
Is this a database driven application? Do you connect to the database upon the load of the form?
himo ka og preloader page bai... mao rana akong ma huna hunaan.
bro try this solutions:Originally Posted by DeathFox
1st --> Tune-up your query (if you have an event that calls a procedure or function that retrieved recs from a database)
2nd --> Replace those spaghetti loops
3rd --> Apply the Cyclomatic complexity on your coding practices.
4th --> If you have third party component on that form re-install it or remove it and use the native.
Hope this help. Have a nice day!![]()
Still doesn't work Code is fairly optimized, but there are just about 50+ objects in there and it connect to the database at start.
unsa imo database bro? can u pm ur code? unsa mga 3rd party ana nga com?Originally Posted by DeathFox
abi ko imo probs is daghan kaau objects imong form?. like GUI?.. or is it too many records to display?.
anyway if you have too many records to show. use "pagination" (ambot onsa term ana sa scrollers) technique bro.
if your using a scrollbar then override that scrollbar in a way when it scroll it queries the db to get the offset.. of records
ex: you have 1000000 records
you can represent the scrollbar value as "pages" which you can do a scaling (so the scrollbar doesnt look funny) you can show "100" per view.. when you scroll.. you query the next offset of records. and display it.. dont display the record at once when the list is too big.
pro kong GUI.. onsa man mostly imong mga objects bro? buttons? checkboxes?. or what?.
@silent-kill
bro IMHO. There's not a prob if nag retrieved siya ug bulk of recs as long as tuned iya query and naka index ang cols nga angayan e index. ang iya prob is naa both sa front-end and sa back-end. duha man gud ang scenarios sa iya prob the first is overload daw siya sa objects(front-end) and second it retrieved recs on form load (back-end).
@DeathFox
e pm nalang sa amo imo codes para matabangan namu analyze.
@dlanyer77
IMHO bro, i guess there is, if its not a problem i dont see why most high performance tool would implement the same solution.
@DeathFox
paste nalang ka screenshot bai para makita ang form og hatag statistics kong mga pila ka records imo i display
or paste ka sa imong procedure sa form load. or i thread nalang na imong app bai oi.
@silent-kill
Hmmm... Hehehe! I have detailed answer to that bro but no comments nalang. Basin maka offend napud ko. Ato nalang ibalik ang topic to help those in need. We can solve it anyway by all means. Ato nalang ipa detail niya ang prob para ato matabangan.![]()
Similar Threads |
|