Can anyone tell me whats wrong with this SQL statement?
I have the Err.Description going out to a messagebox and it says "Error in INSERT INTO statement"
The first field is an autonumber, should I be putting a Null into it?
Code:
CurrentDb.Execute("INSERT INTO Joblist2Data (ID, DayUsed, Employee, Priority, Item, Task, Comments, Complete) VALUES (" & Null & ", #" & 5 / 27 / 10 & "#, " & cmbTechnician.Value & ", " & Null & ", " & Null & ", " & txtOrderID.Value & ", " & comments & ", " & False & ");")
The first field is an autonumber, should I be putting a Null into it?
Comment