santhosh23
Registered User.
- Local time
- Today, 05:52
- Joined
- Jul 21, 2015
- Messages
- 74
Hi
I am creating a table in access database for my company which reads the data from a subform and store in a table. I have 5 values in which 2 of them are combo box and 3 values are time values (start time , end time and work time)..I executed the below insert into statement which throws runtime error .
CurrentDb.Execute "INSERT INTO sample(toolCare Job#,Worked On Activity,Start Time, End Time, Total Time)" &_
"VALUES('" & Me.cbotoolCare_Job & "','" & Me.cboWorked_On_Activity & "','" & Me.txtStartTime & "','" & Me.txtEndTime & "','" & Me.txtWorkTime & "')"
I also executed various queries reading forums but nothing worked for me..
any help could be appreciated ..
thank you
I am creating a table in access database for my company which reads the data from a subform and store in a table. I have 5 values in which 2 of them are combo box and 3 values are time values (start time , end time and work time)..I executed the below insert into statement which throws runtime error .
CurrentDb.Execute "INSERT INTO sample(toolCare Job#,Worked On Activity,Start Time, End Time, Total Time)" &_
"VALUES('" & Me.cbotoolCare_Job & "','" & Me.cboWorked_On_Activity & "','" & Me.txtStartTime & "','" & Me.txtEndTime & "','" & Me.txtWorkTime & "')"
I also executed various queries reading forums but nothing worked for me..
any help could be appreciated ..
thank you