Wednesday, July 16, 2008

Setting NULL to datawindow column

/*
If it an integer, string, etc, replace with a declaration of the appropriate datatype
*/
datetime ldt_nulldate //to contain null value

SetNull(ldt_nulldate)
if dwo.name = 'b_clear' then
   dw_1.setitem(row, 'mydate', ldt_nulldate)
end if

No comments: