<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>15 Jun 2017 15:51:00 Z</lastBuildDate><pubDate>14 Jun 2017 11:44:00 Z</pubDate><description>Morning&#13;
&#13;
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.&#13;
&#13;
This takes a couple of seconds to do.&#13;
&#13;
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?&#13;
&#13;
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?&#13;
&#13;
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.&#13;
&#13;
Thanks in advance for any pointers.&#13;
&#13;
&#13;
&#13;
Ericus Steyn</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice/read.awp</link><title>[WB19] Page Initialise Best Practice</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice-61306/read.awp</comments><pubDate>15 Jun 2017 15:51:00 Z</pubDate><description>Hi,&#13;
&#13;
I also tried to run an AjaxExecuteAsync call in the onLoad browser function, but for some reason this was not processed i…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice-61306/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice-61306/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice/read.awp">[WB19] Page Initialise Best Practice</source><title>Re: [WB19] Page Initialise Best Practice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice-61300/read.awp</comments><pubDate>14 Jun 2017 13:13:00 Z</pubDate><description>Hi Ericus,&#13;
&#13;
I would use ajax to do what you want:&#13;
- either (if it's already available in 19) with an ajaxececute call with th…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice-61300/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice-61300/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61298-wb19-page-initialise-best-practice/read.awp">[WB19] Page Initialise Best Practice</source><title>Re: [WB19] Page Initialise Best Practice</title></item></channel></rss>
