去除警告 Remove Warning
全局定义的字段在被使用后激活时会提示警告,“xxx字段没有定义值”
Active will alert while Global Definitions are used, " Field xxx has no defined value"

为去除这个警告,只需在初始化处初始化该字段
Clear this field at Initialization to remove this alert

货币/数量字段 CURR/QUAN
货币/数量字段在激活时不会提示错误或警告
CURR/QUAN Fields won’t alert errors or warnings while Active
但是Smartforms执行时会出现异常情况
But it won’t work as you will while running
所以我们需要在货币/数量字段处针对所属类型参考一下,可参考自己
So it is necessary for us to reference fields at Currency/Quant. Fields
Reference itself is ok


博客内容涉及在编程中遇到全局定义字段使用时的警告问题。为避免Field xxx has no defined value的警告,建议在初始化阶段就对字段进行赋值。此外,对于货币/数量字段CURR/QUAN,虽然在激活时不会引发错误,但在Smartforms执行时可能出现异常。解决方法是针对货币/数量字段进行类型引用。确保在Currency/Quant.Fields中正确参考字段自身。
3907

被折叠的 条评论
为什么被折叠?



