我正在设置一个基于 ADO 的客户端数据集,当我尝试将空值插入 TIntegerField 时,在发布时我得到Project raised exception class EDatabaseError with message 'Non-nullable column cannot be updated to Null'.
我知道我以前见过一种将 TField 设置为可为空的方法,但我不记得在哪里或如何。有谁知道如何解决这一问题?
编辑:该字段在设计时设置为Required = false,我已经验证它在运行时仍然是错误的,但我仍然得到错误。