Reputation: 2318
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?
Upvotes: 0
Views: 1368
Reputation: 112324
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
. The RowSourceType
must be set to Table/Query
!
Upvotes: 1