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
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