<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>26 Oct 2017 11:34:00 Z</lastBuildDate><pubDate>26 Oct 2017 11:13:00 Z</pubDate><description>Hello,&#13;
&#13;
Im using HExecuteSQLQuery to create Dynamic queries eg.&#13;
&#13;
&#13;
THEANALYTICNAME = Total_Charges&#13;
&#13;
&#13;
HExecuteSQLQuery(CustomerQry, "SELECT " + THEANALYTICNAME +" FROM " ...&#13;
&#13;
the THEANALYTICNAME is the dynamic part, the query all works fine but i cant read the result&#13;
&#13;
res = CustomerQry.THEANALYTICNAME&#13;
&#13;
shows an error saying THEANALYTICNAME is not part of the query.&#13;
&#13;
Ive tried res = CustomerQry +"."+ {THEANALYTICNAME,indItem}&#13;
&#13;
but no joy&#13;
&#13;
anyone know a solution to this?&#13;
&#13;
cheers ISO</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63106-hexecutesqlquery-result-wd22/read.awp</link><title>HExecuteSQLQuery Result [WD22]</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/63106-hexecutesqlquery-result-wd22-63108/read.awp</comments><pubDate>26 Oct 2017 11:34:00 Z</pubDate><description>Perfect many thanks Peter.&#13;
&#13;
:spos:</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63106-hexecutesqlquery-result-wd22-63108/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63106-hexecutesqlquery-result-wd22-63108/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63106-hexecutesqlquery-result-wd22/read.awp">HExecuteSQLQuery Result [WD22]</source><title>Re: HExecuteSQLQuery Result [WD22]</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63106-hexecutesqlquery-result-wd22-63107/read.awp</comments><pubDate>26 Oct 2017 11:22:00 Z</pubDate><description>Hey ISO,&#13;
&#13;
Your indirection usage is wrong at first sight.&#13;
Use "res = {CustomerQry +"."+ THEANALYTICNAME,indItem}" instead.&#13;
&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63106-hexecutesqlquery-result-wd22-63107/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63106-hexecutesqlquery-result-wd22-63107/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63106-hexecutesqlquery-result-wd22/read.awp">HExecuteSQLQuery Result [WD22]</source><title>Re: HExecuteSQLQuery Result [WD22]</title></item></channel></rss>
