I'm trying to execute this line of code:
However, I've found that if the variable strStdDegReqCou rse is THE* I get the error: Invalid Column name 'THE*'. I did not have this problem when working in DAO. How do I fix it?
Code:
cn.Execute "INSERT INTO StdDegReqCourse VALUES (" & lngClassId & ", """ & strStdDegReqCourse & """, " _
& "1, Null," & lngIncludeDegGPA & ", " & lngTransDetailId & ", 0, 0" & lngCourseSortOrder & ")", , adExecuteNoRecords
Comment