I am having trouble finding a good example of adding a new record into a table that has a CheckBox (yes/no). I keep getting errors in my insert into query.
CurrentDb.Execute "INSERT INTO Weight_Data_Tbl([ITEM NO], [TAG], [DESCRIPTION], [EXISTS])" & _
"VALUES(" & Me.wtItem_txtbx & ", '" & Me.tag_txtbx & "', '" & Me.descrip_txtbx & "', " & Me.exists_chkbx & ")"
ITEM NO = integer value, TAG = string value, DESCRIPTION = string value, and EXISTS = yes/no checkbox
My issue is the red highlighted part. What is the correct syntax for inserting check boxes? Single quotes, double quotes, nothing? Thanks in advance.