Question : Debug this Simple MS Access SQL Insert

Run-time error: '424'
Object required

Am I doing anything obviously wrong?
Code Snippet:
1:
CurrentDb.Execute "insert into DOI ([SERIAL],[UNIT],[DOCUMENT],[ENTRY],[DUE],[TASK],[LESSON],[responsible],[SME REVIEW REQUIRED]) values ('" & SERIAL.Value & "','" & unitStr & "','" & DOCUMENT.Value & "','" & ENTRY.Value & "','" & DUE.Value & "','" & TASK.Value & "','" & Combo103.Value & "','" & Combo50.Value & "','" & "Y" & "')"
Open in New Window Select All

Answer : Debug this Simple MS Access SQL Insert

you may want to try
myserial = SERIAL.value
mydocument = DOCUMENT.Value
myentry = ENTRY.Value
mydue = DUE.Value
mytask = TASK.Value
my103combo = Combo103.Value
my50combo = Combo50.Value
CurrentDb.Execute "insert into DOI ([SERIAL],[UNIT],[DOCUMENT],[ENTRY],[DUE],[TASK],[LESSON],[responsible],[SME REVIEW REQUIRED]) values ('" & myserial & "','" & unitStr & "','" & mydocument & "','" & myentry & "','" & mydue & "','" & mytask & "','" & my103combo & "','" & my50combo & "','" & "Y" & "')"
Random Solutions  
 
programming4us programming4us