CODE
SQLString = "INSERT INTO tblNotes (PNID, PNDate, PNLength, PNNote, PNCG1 ) " & _
"VALUES (50000, #02/12/2012# , 15 , 'Testing' , 70000);"
DoCmd.RunSQL (SQLString)
"VALUES (50000, #02/12/2012# , 15 , 'Testing' , 70000);"
DoCmd.RunSQL (SQLString)
The table I'm inserting into has an AutoID for the first column (which I do nothing with), then my four fields should be appended to the table. The PNID is a required field in the table along with the autonumber. All other fields are optional. When I go to insert the record, it complains that I have a NULL value somewhere and prevents the insert.
Edit2: More details.
Edit: Access 2010 (NOT web) 32bit
