I have an MS Access ADP with a SQL server backend. I want to take a bunch of values from a form and insert them into a table. Some of the values can be null. How do I use vba to insert null into an integer field in the SQL Server table?
I tried
"insert...values(" & nz(me.myInt, null) & ",..."
and
"insert...values(" & nz(me.myInt, "null") & ",..."
Neither worked.