I have an access database. i am inserting data from an excel worksheet
i have a very long insert (41 columns). in the middle of the pack i have several date fields.
Some of the date fields are null and should be null until the user or batch job updates the access db.
i have defined the following
[CODE}
Dim FirmCommitmentIssued
FirmCommitmentIssued =((Sheets("OD_ASSUMPTIONS").Cells(iRow, iCol + 25).Value))
If Len(FirmCommitmentIssued) = 0 Then
FirmCommitmentIssued =null
End If
[/code]
however, i get an automation error, when this occurs
i know i could write a seperate insert statements and do a check so if null then insert without using this field. but then i would mess up some of the other logic.
is there anyway to insert a null or a default value say 1/1/1900
thanks