Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WB19] Page Initialise Best Practice (1 reply)

$
0
0
Morning

I open a page and at the same time populate 4 loopers with data from 4 different queries based on the parameter passed to the page.

This takes a couple of seconds to do.

What is the best practice to open the page and update the loopers in the background but at least the user can see the page and the fields they are going to complete?

I have tried ThreadExecute where I execute the 4 queries and use looperdisplay to refresh the loopers. However the looperdisplay does not work from the ThreadExecute. Something to do with the HFSQL context being duplicated?

If I run the same procedure but not as a thread, then it works, but then the display is delayed by the few seconds to display the loopers.

Thanks in advance for any pointers.



Ericus Steyn

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>