<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>10 Nov 2017 17:06:00 Z</lastBuildDate><pubDate>10 Nov 2017 17:06:00 Z</pubDate><description>Has anyone successfully overloaded HExecuteQuery()? I've overloaded HAdd, HModify, HDelete, and HExecuteSQLQuery with ease, but HExecuteQuery() will not behave. It seems built queries do not pass as params well. Below is my code for overloading HExecuteSQLQuery that works.&#13;
&#13;
PROCEDURE HExecuteSQLQuery(DataSource is Data Source, Mode, SqlText is string) IF WL.HExecuteSQLQuery(DataSource, Mode, SqlText) THEN // My custom code here RESULT True ELSE RESULT False END&#13;
I've had all kinds of issues with overloading HExecuteQuery(). Now I can't even get it to run the overloaded function. WD is just messing with me now. Next is my code for the problem function.&#13;
&#13;
PROCEDURE HExecuteQuery(Query) IF WL.HExecuteQuery(Query) THEN // Custom Code RESULT True ELSE RESULT False END</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63281-wd20-overloading-hexecutequery/read.awp</link><title>[WD20] Overloading HExecuteQuery()</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
