Inserting NULL values in a database from VBA code
问题 I have 3 radioButtons ("YES", "NO", "UNKNOWN") wich matches a column from my database with 3 possible values (1, 0, NULL). When the radioButton selected is "UNKNOWN" I want to insert a NULL value in this table (using Variant type). But when I try to run my SQL query with my ADODB connection, it returns an error. Is there a trick to pass NULL values in my database ? Here's a copy of my code : Public Function setCandidature(idC As Integer, idO As Integer, nomC As String, prenomC As String, nomM