SYMPTOM:
In the SQL view of a report in Strategy Developer, an attribute ID form has the following expression:
ApplySimple ("substring (CUST_CITY_NAME, 1, 10)",0)select a12. AS region_id, max(a13.) AS REGION_NAME, substring(CUST_CITY_NAME, 1, 10) CustCol 3, sum(a11.) AS WJXBFS1 from a11, a12, a13, a14 where a11. = a12. and a12. = a13. and a12. in (11) group by a12.
ApplySimple("expression_with_placeholders", parameter_1, …, parameter_n)
ApplySimple("substring(#0, 1, 10)",)select a12. AS region_id, max(a13.) AS REGION_NAME, substring(CUST_CITY_NAME, 1, 10) CustCol 3, sum(a11.) AS WJXBFS1 from a11, a12, a13, a14 where a11. = a12. and a12. = a13. and a12. in (11) group by a12. a14.CustCol 3