Hi, I have two combo boxes on my form whose value cannot be changed. If I copy these boxes to another form, they work! If I take a working combo box from another form, and insert into this form, it no longer works.
I think the problem might be with my SQL query. However, if I open the query outside the form (in datasheet view), the combo box works fine.
Here is my query:
SELECT [course].[course_name], [candidate_course].[status] AS status, [candidate_course].[year], [candidate_course].[quarter], [candidate_course].[file_no]
FROM course LEFT JOIN candidate_course ON [course].[course_id]=[candidate_course].[course_id]
WHERE ((([course].[set])="1") And (([course].[target])<>'cfsm') And (([course].[active])=-1) And (([course].[mandatory])=0));
Status and Quarter have text data types and use combo boxes as their display control in the Lookup tab.
Please help!
I think the problem might be with my SQL query. However, if I open the query outside the form (in datasheet view), the combo box works fine.
Here is my query:
SELECT [course].[course_name], [candidate_course].[status] AS status, [candidate_course].[year], [candidate_course].[quarter], [candidate_course].[file_no]
FROM course LEFT JOIN candidate_course ON [course].[course_id]=[candidate_course].[course_id]
WHERE ((([course].[set])="1") And (([course].[target])<>'cfsm') And (([course].[active])=-1) And (([course].[mandatory])=0));
Status and Quarter have text data types and use combo boxes as their display control in the Lookup tab.
Please help!