<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged #k</title>
<link>https://overflow.efficy.io/?qa=tag/%23k</link>
<description>Powered by Question2Answer</description>
<item>
<title>GetField parameter to Query</title>
<link>https://overflow.efficy.io/?qa=2076/getfield-parameter-to-query</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Can i send parameters to a query that is used in the getfield-tag?&lt;/p&gt;

&lt;p&gt;F.e. &amp;lt;%GetField('AMM', query='AM', param1=&amp;lt;#K&amp;gt;')&lt;/p&gt;

&lt;p&gt;Where testquery is a defined in a Runquery-tag.:&lt;/p&gt;

&lt;p&gt;&amp;lt;%RunQuery(id=|AM|, store=|2|, 
        SQL=|select 'test' as aa, SUM(F_TIME_SPENT_HOUR) as AMH,SUM(F_TIME_SPENT_MIN) as AMM from &amp;lt;#TABLE name='R_ACTI_PROD'&amp;gt; R_ACTI_PROD 
        where R_ACTI_PROD.K_Action=:param1| %&amp;gt;&lt;/p&gt;

&lt;p&gt;OWhen this is possible i can put the runquery in the listconsult.appo and the getfield in the agendalayout. &lt;br&gt;
Or is there another way to do this? (using the K_Action as a parameter for the runquery that is defined in another file?)&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2076/getfield-parameter-to-query</guid>
<pubDate>Tue, 06 Dec 2016 13:34:08 +0000</pubDate>
</item>
</channel>
</rss>