L lyloyal Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-14 #1 case field when null then 0 else field end好象对Access库不正确,在SQL Server 中可以,请高手指教!
J jammi Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-14 #3 iif(field=null,0,field) 最好在数据库中定义默认值为0不就解决了吗?
O oceanwave Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-14 #4 应该是 iif(field=0,null,field)
X xiaoshandong Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-14 #5 ACESS应该支持标准SQL语法的,可以调用iif函数的