G
Guest
Using the QBE, I've created an append query and attached it to a button on a
form. Whenever I click on the button I get an error: "Data type mismatch".
I've copied the SQL statements of the query:
INSERT INTO tblCurriculum ( lngProgCurrlmNo, lngCourseNo )
SELECT tblProgCurrlm.lngProgCurrlmNo, tblCourses.lngCourseNo
FROM tblCourses, tblProgCurrlm
WHERE (((tblProgCurrlm.lngProgCurrlmNo)='"& Me.cboProgCurrlmNo &"') AND
((tblCourses.txtSelected)="Y"));
Any idea why this error is happening? Thanks.
ck
form. Whenever I click on the button I get an error: "Data type mismatch".
I've copied the SQL statements of the query:
INSERT INTO tblCurriculum ( lngProgCurrlmNo, lngCourseNo )
SELECT tblProgCurrlm.lngProgCurrlmNo, tblCourses.lngCourseNo
FROM tblCourses, tblProgCurrlm
WHERE (((tblProgCurrlm.lngProgCurrlmNo)='"& Me.cboProgCurrlmNo &"') AND
((tblCourses.txtSelected)="Y"));
Any idea why this error is happening? Thanks.
ck