4.40.0.23 / 4.40.0.24 : - Runtime Exception : #42S22 Field not found
Posted: Wed 28 Mar 2007 13:19
Hi,
I've a TmyQuery component (qrPoseContratParOS) using this sql statement :
In design time, I can retreive all persistent fields.
At run time, when opening the query, i'm getting this exception :
'qrPoseContratParOS: field 'TotalPaiementDirectHT' not found
If I remove the 'TotalPaiementDirectHT' persistent field this error is no more raised. It looks like a regression since it was corrected in some version ago.
If you found the issue, can you provide me a fix for this ? (I own the source code). Thank you in advance.
PS : I had a 'similar' error in the past see my topic http://crlab.com/forums/viewtopic.php?t=7436&highlight=
I've a TmyQuery component (qrPoseContratParOS) using this sql statement :
Code: Select all
select posecontratparos.*,
(SELECT
SUM((MontantFacturePaiementDirectHT + MontantFactureFermobaHT))
FROM
posefactureparcontratos
WHERE
posefactureparcontratos.IdContratPose = posecontratparos.IdContratPose
GROUP BY
posefactureparcontratos.IdContratPose
) AS TotalPaiementDirectHT
from
posecontratparos
where IdOrdreService = :IdOrdreServiceAt run time, when opening the query, i'm getting this exception :
'qrPoseContratParOS: field 'TotalPaiementDirectHT' not found
If I remove the 'TotalPaiementDirectHT' persistent field this error is no more raised. It looks like a regression since it was corrected in some version ago.
If you found the issue, can you provide me a fix for this ? (I own the source code). Thank you in advance.
PS : I had a 'similar' error in the past see my topic http://crlab.com/forums/viewtopic.php?t=7436&highlight=