Run time error 3061. Too few parameters. Expected 2
this what i got from this:
Private Sub Command498_Click()
CurrentDb.Execute "INSERT INTO FourniturenSample(Lila, Code, LilaP1, CodeP1, ColorP1, QuantityP1) " & _
"VALUES(" & Me.txtlila & "," & Me.txtlilacode & "," & Me.txtlilapart1 & "," & Me.txtlilapart1 & "," & Me.txtcolorpart1 & "," & Me.quantity1 & ")"
FourniturenSamplesub.Form.Requery
End Sub
Can anyone tell me where is the mistake pls?
this what i got from this:
Private Sub Command498_Click()
CurrentDb.Execute "INSERT INTO FourniturenSample(Lila, Code, LilaP1, CodeP1, ColorP1, QuantityP1) " & _
"VALUES(" & Me.txtlila & "," & Me.txtlilacode & "," & Me.txtlilapart1 & "," & Me.txtlilapart1 & "," & Me.txtcolorpart1 & "," & Me.quantity1 & ")"
FourniturenSamplesub.Form.Requery
End Sub
Can anyone tell me where is the mistake pls?
