Hello and thank you for looking at my problem.
I get an error stating that "number of query values and detinations are not the same.
Can anyone tell me what is wrong with the following code in Access 2000 written in VBA:
Dim stSQL As String
DoCmd.SetWarnings False
stSQL = "INSERT INTO [tblTempRmgAdd]([JobID],[Design],[ProTrodes])"
stSQL = stSQL + " values ('" & Me.JobID & " ," & Me.Design & " ," & Me.ProTrodes & "');"
DoCmd.RunSQL stSQL
DoCmd.SetWarnings True
I get an error stating that "number of query values and detinations are not the same.
Can anyone tell me what is wrong with the following code in Access 2000 written in VBA:
Dim stSQL As String
DoCmd.SetWarnings False
stSQL = "INSERT INTO [tblTempRmgAdd]([JobID],[Design],[ProTrodes])"
stSQL = stSQL + " values ('" & Me.JobID & " ," & Me.Design & " ," & Me.ProTrodes & "');"
DoCmd.RunSQL stSQL
DoCmd.SetWarnings True