简体   繁体   English

Access 2003条件格式和具有NULL值的字段不返回NULL

[英]Access 2003 conditional formatting and field with NULL value not return NULL

The field is taken from the table and is the source of data for the textbox, in which I want to apply conditional formatting. 该字段是从表中获取的,并且是文本框的数据源,我要在其中应用条件格式。 Almost always it is NULL . 几乎总是NULL The expression for the conditional formatting: 条件格式的表达式:

Not IsNull ([duedate])

Always returns true, I do not understand why. 总是返回true,我不明白为什么。 Field [duedate] belongs to the parent form. 字段[duedate]属于父表单。

我认为您还需要像IsNull一样检查长度

Len(Field) = 0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM