访问中主题制作的替换表达式中的语法错误

syntax error in replace expression for subject making in access

我对访问中的表达式很陌生,

在我的访问数据库中,当单击表单中的发送邮件按钮时,我需要将一些字段解析为 outlook 的主题,为此我使用如下替换表达式:

=Replace(Replace("Rework |1: Reason|2:Drawing Number|3","|1",Nz([Order_Number],"")),"|2",Nz([Reason_for_rework],"")),"|3",Nz([Drawing_Or_Mat_Number],""))

但是为此我收到错误:

"the 'emaildatabaseobject' macro action has an invalid value for the 'subject' argument

请帮我解决这个问题

你的语法完全错误。您可能选择

=Choose(YourCategoryID,Nz([Order_Number],""),Nz([Reason_for_rework],""),Nz([Drawing_Or_Mat_Number],""))