Setting | Description |
Table/Query | (Default) The data is from a table, query, or SQL statement specified by the RowSource setting. |
Value List | The data is a list of items specified by the RowSource setting. |
Field List | The data is a list of field names from a table, query, or SQL statement specified by the RowSource setting. |
For this RowSourceType setting | Enter this RowSource setting |
Table/Query | A table name, query name, or SQL statement. |
Value List | A list of items with semicolons (;) as separators. |
Field List | A table name, query name, or SQL statement. |
RowSource setting | List |
Mon;Tue;Wed (ColumnCount = 1) | ![]() |
1;Monday;2;Tuesday;3;Wednesday;4;Thursday (ColumnCount = 2) | ![]() |
Country;Capital;China;Beijing;Brazil;Brasilia (ColumnCount = 2, ColumnHeads = Yes) | ![]() |
SELECT CategoryID, CategoryName FROM Categories ORDER BY CategoryName;
If the CategoryList query and the SQL statement define the same set of records, the list for either property setting looks like the following illustration.
Forms!Employees!cmboNames.RowSourceType = "Table/Query"
Forms!Employees!cmboNames.RowSource = "EmployeeList"