Well.
When execution stop on breakpoint, copy content of mySQL from VBA Immediate window, paste it to Query builder and try to execute.
Code:
........................
mySQL = "INSERT INTO Schedule " & tblfldNames _
& "VALUES (" & fldValues & "," _
& ActTime & "," & RunHours & ",#" & [StartTime] & "#,#" & EndTime & "#);"
Debug.Print mySQL '[B]Add this line here [/B]
DoCmd.RunSQL mySQL '[B]Toggle breakpoint here[/B]
........................
Comment