怎么判断dw中的datetime型的字段是否有值?

如何判断dw中的datetime型的字段是否有值????
if dw_1.rowcount()>0 then
FOR i = 1 TO dw_1.rowcount()
if  dw_1.object.xz[i] =1 then
if  (ISNULL(dw_1.object.qdhcdate[i]))  then  //这句要改为判断如果有值的话
messagebox('提示','请先去除签单的时间再取消核销!')
return
else

end if
    else
    end if
NEXT
end if



if  (ISNULL(dw_1.object.qdhcdate[i]))  then  //这句要改为判断如果有值的话

另外我的dw中的qdhcdate 字段为datetime 型  显示格式为 “yyyy-mm-dd”   我想设置为空要怎么处理  

我用dw_1.setitem(i,'qdjhdate',Today())  可行
但是用 dw_1.setitem(i,'qdjhdate','')  或者 dw_1.setitem(i,'qdjhdate','0000-00-00')   都不行
------解决思路----------------------
if  not (ISNULL(dw_1.object.qdhcdate[i]))  then //不为空

datetime ldt_null
setnull(ldt_null)
dw_1.setitem(i,'qdjhdate',ldt_null) //这样试试