Hello,
I would like to use a Harbour function in a where clause.
I need to pass to Harbour麓s function the value from the SQL TABLE:
cSQLi1 := "SELECT * FROM APUNTES WHERE MyFunction(FECHA) = '1' "
That gives an error indicating that MyFunction is not defined on the SQL engine.
So I tried with no luck
"SELECT * FROM APUNTES WHERE "+ MyFunction( "+FECHA+" ) +" = '1' "
But In MyFunction I don麓t get FECHA value, I just retrieve +FECHA+
Any advice will be welcomed.
Thank you very much. Best regards
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producci贸n]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.