Good Morning Everyone,
I'm having an strange issue while testing an application which connects to an Informix Database.
The thing is that it connects ok, but when I execute an SQL command:
select sum(importe) into :lc_importe_menos
from ftransf
where cenbanc = :is_cenbanc
and csubanc = :is_csubanc
and ncuenta = :is_ncuenta
and clvdeha = '1'
and foper <= :id_fecha
and foper >= :id_fec_saldo_ini
using itr_sqlca;
If I run the application, it works good, but if I debug it, the transaction dbcode is -1206 and the sqlerrtext is "SQL Error -1206 : Invalid day in date".
Why, if the code is the same, acts different running and debugging?
Is there any way to solve this?
Thank you very much!