Is it possible to insert a Null value to a smalldate time field which is allowed Null in VB?
I have tried to assign vbNull and vbEmpty to it, but it prompts "The conversion from datetime data type to smalldatetime data type resulted in a smalldatetime overflow error."
=======================================================
e.g.
rs.open...
rs!testdate = vbNull
rs.update ' -> prompt the error!
=======================================================
So what can I assign to the rs!testdate field in vb by ADO?
I have tried to assign vbNull and vbEmpty to it, but it prompts "The conversion from datetime data type to smalldatetime data type resulted in a smalldatetime overflow error."
=======================================================
e.g.
rs.open...
rs!testdate = vbNull
rs.update ' -> prompt the error!
=======================================================
So what can I assign to the rs!testdate field in vb by ADO?