<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>6 Aug 2018 11:50:09 Z</lastBuildDate><pubDate>8 Nov 2007 16:53:47 Z</pubDate><description>Hello,&#13;
&#13;
I have defined a query (QRY_A) which using a Subquery (QRY_B) for a specific Field (defined as parameter FIELD_A). The Subquery also has a parameter (FIELD_B) which will be filled by a field on my window. &#13;
&#13;
It seems that the Parameter for the Subquery is ignored if I'm setting the Parameter for the Query (i guess the reason is because the query will be called internal). &#13;
&#13;
I'm using the following code:&#13;
&#13;
QRY_B.FIELD_B = "TEST"&#13;
&#13;
HExecuteQuery(QRY_A)&#13;
&#13;
Doing it this way does not work. Is there any other way the define the Parameter FIELD_B for QRY_A?&#13;
&#13;
Thanks a lot.&#13;
&#13;
Best regards&#13;
&#13;
Andreas</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter/read.awp</link><title>Query with Subquery /w Parameter</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Wim MEURISSE</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-66497/read.awp</comments><pubDate>6 Aug 2018 11:50:09 Z</pubDate><description>Hello,&#13;
&#13;
I got this working this way:&#13;
&#13;
QRY_B.param1 = value1&#13;
QRY_B.param2 = value2&#13;
if HExecuteQuery( QRY_B ) then&#13;
	if HExe…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-66497/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-66497/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter/read.awp">Query with Subquery /w Parameter</source><title>Re: Query with Subquery /w Parameter</title></item><item><author>adolleschal</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-10603/read.awp</comments><pubDate>8 Nov 2007 18:33:58 Z</pubDate><description>&gt;...&#13;
&#13;
&gt;&gt;I'm using the following code:&#13;
&#13;
&gt;&gt;QRY_B.FIELD_B = "TEST"&#13;
&#13;
&gt;&gt;HExecuteQuery(QRY_A)&#13;
&#13;
&gt;&gt;Doing it this way does not wo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-10603/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-10603/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter/read.awp">Query with Subquery /w Parameter</source><title>Re: Query with Subquery /w Parameter</title></item><item><author>NoSPAM-mnobs</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-10602/read.awp</comments><pubDate>8 Nov 2007 18:13:55 Z</pubDate><description>...&#13;
&#13;
&gt;I'm using the following code:&#13;
&#13;
&gt;QRY_B.FIELD_B = "TEST"&#13;
&#13;
&gt;HExecuteQuery(QRY_A)&#13;
&#13;
&gt;Doing it this way does not work. I…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-10602/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter-10602/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/10600-query-with-subquery-parameter/read.awp">Query with Subquery /w Parameter</source><title>Re: Query with Subquery /w Parameter</title></item></channel></rss>
