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

HExecuteSQLQuery Result [WD22] (2 replies)

$
0
0
Hello,

Im using HExecuteSQLQuery to create Dynamic queries eg.


THEANALYTICNAME = Total_Charges


HExecuteSQLQuery(CustomerQry, "SELECT " + THEANALYTICNAME +" FROM " ...

the THEANALYTICNAME is the dynamic part, the query all works fine but i cant read the result

res = CustomerQry.THEANALYTICNAME

shows an error saying THEANALYTICNAME is not part of the query.

Ive tried res = CustomerQry +"."+ {THEANALYTICNAME,indItem}

but no joy

anyone know a solution to this?

cheers ISO

Viewing all articles
Browse latest Browse all 1914

Trending Articles



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