Code:
CurrentDb.Execute "INSERT INTO Totals (TYPE,SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY, [HG_ID], TIME) VALUES ('GENERAL'," & G_SunTXT.Value & " , " & G_MonTXT.Value & ", " & G_TueTXT.Value & ", " & G_WedTXT.Value & ", " & G_ThuTXT.Value & ", " & G_FriTXT.Value & ", " & G_SatTXT.Value & ", " & HG_ID & ", '" & Me.TimeLST.Value & "');"
This gives me a syntax error
TYPE and TIME are text, and all other fields are numbers, so what am I doing wrong?