I am really very new to VBA and I have been trying to insert the value from a numeric and date variable into a table using VBA. Here is the code that I have been using:
DoCmd.RunSQL "INSERT INTO tbl_results ( [results_student_id], [results_test_date], [results_score]) VALUES (' "& st_student_id &" ', ' "& St_test_id &" ', ' "& St_score & " ')"
Where st_student_id and st_score are numeric and st_test_id is a date...