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.
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.
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
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.
PROCEDURE HExecuteQuery(Query) IF WL.HExecuteQuery(Query) THEN // Custom Code RESULT True ELSE RESULT False END