Would anyone have any idea why I can not save a null value to a date or currency field in MS Access. The required property of these fields have been set to no.
Below is a snippet of code to explain what I am doing.
Now in place of empty I have tried Null and "" but to no avail. The variables are the placed into an Update SQL string and executed via a command object.
Below is a snippet of code to explain what I am doing.
Code:
'Current NAV
If Len(Request.Form("Current NAV")) > 0 Then
cCurrentNAV = ConvertString(Request.Form("Current NAV"))
Else
cCurrentNAV = Empty
End If
sSQL = sSQL & ", CurrentNAV = '" & cCurrentNAV & "'"
Now in place of empty I have tried Null and "" but to no avail. The variables are the placed into an Update SQL string and executed via a command object.