I tried to set the following SQL statement into Row Source property in Access but the statement did not seem to be executed:
SELECT DISTINCT ProjectName FROM tblProjects ORDER BY ProjectName.
Does it mean that I got the syntax wrong?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the SQL was wrong, you would get an error when opening the ComboBox.
Are there projects with a non-empty ProjectName in the table?
Also check the ComboBox properties
ColumnCount,ColumnWith,ListRows. TheRowSourceTypemust be set toTable/Query!