D
DS
I'm trying to handle a Date field if it's left blank with SQL.
I've looked around but I still can't find the solution.
Any help appreciated.
Thanks
DS
CurrentDb.Execute "INSERT INTO Table1 (ID,DateF) " & _
"VALUES(" & Forms!Form1!TxtID & ", " & _
"" & Nz("#" + Me.TxtDate + "#", "Null") & ")"
I've looked around but I still can't find the solution.
Any help appreciated.
Thanks
DS
CurrentDb.Execute "INSERT INTO Table1 (ID,DateF) " & _
"VALUES(" & Forms!Form1!TxtID & ", " & _
"" & Nz("#" + Me.TxtDate + "#", "Null") & ")"