在公式中使用“&"号会导致“意外字符"的出现.错误 [英] Using Ampersand (&) in Formula Results in "Unexpected Character" error
问题描述
我正在尝试执行自定义操作,以在提交表单时追加标题字段,并使它现在可以正常工作,但是由于某些原因,如果我使用&运算符而不是+,它会导致错误.
有人知道为什么不将&符解释为运算符吗,或者在此语法中它是否无效?我使用在网上找到的另一个示例来制作了这个公式.
www.standardexcellence.net |俄克拉荷马州IT超级英雄
您好,FoaRyan,
根据我的测试,&"在InfoPath公式中不是有效的运算符char.
您要在字段后附加标题吗?您可以使用 concat 功能来做到这一点.
关于在InfoPath中添加公式:
有关InfoPath函数的更多信息,您可以参考:
http://www.bizsupportonline.net/infopath-functions-examples.htm >
谢谢
温迪
I am attempting to perform a custom action to append the title field when a form is submitted, and have it working now, but for some reason if I use the & operator instead of the +, it results in an error.
Does anyone know why an ampersand isn't being interpreted as an operator, or if perhaps it is not valid in this syntax? I made this formula using another example I found online.
www.standardexcellence.net | Oklahoma IT Superhero
Hi FoaRyan,
Per my test, '&' is not a valid operator char in InfoPath formula.
Do you want to append Title to a field? You can use concat function to do that.
About adding a formula in InfoPath:
More information about InfoPath functions, you can refer to:
http://www.bizsupportonline.net/infopath-functions-examples.htm
Thanks,
Wendy
这篇关于在公式中使用“&"号会导致“意外字符"的出现.错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!