在i4gl IDE中,我在报告程序中遇到此异常,用于打印特定类别所有人员的工资扣除。
该计划适用于某一类别的员工,但对于其他类别的员工则无效。
请建议一个解决方案。感谢期待。
我已经提到了错误消息指向的代码行以及下面的错误消息:
let _stmt = "select * from pay_slip where per_no = '",r_hist.per_no ,
"' and yrmn = '",_yrmn,"' and govt_str ='", __hdr clipped,"'"
prepare prep_stmt from _stmt
execute prep_stmt into r_slip.*
错误消息:
Program stopped at "DED_SUM_EX.4gl", line number 109.
SQL statement error number -201.
A syntax error has occurred.
答案 0 :(得分:0)
我建议: