
Populating Null value in SQL Date/Time field
Quote:
> How do you put a Null value into a field that allows it? When I try it I get
> "Invalid cast from Enum to DateTime."
Don't you want dbNull or dbNull.Value? vbNull is one of the possible
values returned by VB Classic's VarType function, along with vbEmpty,
vbString, vbInteger, etc.
--
Joe Foster <mailto:jlfoster%40znet.com> On the cans? <http://www.xenu.net/>
WARNING: I cannot be held responsible for the above They're coming to
because my cats have apparently learned to type. take me away, ha ha!