我正在使用MS Access 2007。我有一个包含多个电话号码字段(手机、家庭、工作、主要*)的表单。所有这些字段的数据源都来自Customers表。
基本上,我要做的是为主要的*字段建立一组默认值。我想要完成这样的事情:
If [cell] <> Null:
primary* = [cell]
elif [cell] Is Null and [home] <> Null:
primary* = [home]
elif [cell] Is Null and [home] is Null and [work] <> Null:
p