Hello, I am very new with using Access as I come more from a pure SQL background.
I have been having trouble with inserting into a table using only its default values.
I have a table with several Yes/No fields and each of these fields have the default value set to `=No` in the table creation view.
My issue comes when I try inserting into it using VBA. I tried running
I don't know what I'm doing wrong as for me it should be working, any help is appreciated
Thank you
I have been having trouble with inserting into a table using only its default values.
I have a table with several Yes/No fields and each of these fields have the default value set to `=No` in the table creation view.
My issue comes when I try inserting into it using VBA. I tried running
DoCmd.RunSQL "INSERT INTO table DEFAULT VALUES"
and INSERT INTO table () VALUES ()
but every time I get hit with the error 3134.I don't know what I'm doing wrong as for me it should be working, any help is appreciated
Thank you