我的表格MyTbl
包含date1, date2, date3
if date1=null i need that in field memo will be 'A'
elae if date2=null i need that in field memo will be 'B'
else if date3=null i need that in field memo will be 'C'
可以在查询中访问2007吗?
提前谢谢
答案 0 :(得分:1)
如果我理解正确,你应该可以使用IIF -
来做到这一点memo: IIf(IsNull([date1]=True),"A",IIf(IsNull([date2])=True,"B",IIf(IsNull([date3])=True,"C")))