Hi,
Could someone please tell me what may be wrong with this code:
DoCmd.RunSQL "Insert Into tblChecks (_CheckType, Comment, _Checker, Date, Time)" & _
"Values ('" & Me.CheckType.Value & "','" & Me.Comment.Value & "','" & Me.Checker.Value & "','" & Me.Date.Value & "','" & Me.Time.Value & "')"
The table column names are right although there is also a id coulumn which is an autonumber. The me."value" are all correct but still no joy.
Any idea's would be greatly appreciated
Keith Brittain
Could someone please tell me what may be wrong with this code:
DoCmd.RunSQL "Insert Into tblChecks (_CheckType, Comment, _Checker, Date, Time)" & _
"Values ('" & Me.CheckType.Value & "','" & Me.Comment.Value & "','" & Me.Checker.Value & "','" & Me.Date.Value & "','" & Me.Time.Value & "')"
The table column names are right although there is also a id coulumn which is an autonumber. The me."value" are all correct but still no joy.
Any idea's would be greatly appreciated
Keith Brittain