Well... a DateTime field can be NULL or a valid date. Jan 1, 1900 is the 0 date. You can convert 'empty' dates to null like this...
[tt][blue]
Update Table
Set DateField = NullIf([!]SomeDate[/!], '')
Where ....
[/blue][/tt]
In this case, SomeDate would be a date value, or an empty string. NullIf will return the first parameter if it is not equal to the second parameter. If the first parameter is the same as the second parameter, then NULL is returned from NullIf.
Ex:
Select NullIf('1/1/2007', '')
Select NullIf('', '')
Run both of these in Query Analyzer for a better understanding of NullIf.
-George
Strong and bitter words indicate a weak cause. - Fortune cookie wisdom