Mich,
G LS explained very well why I asked for the source of your data. I didn't know that you had typed in a Value list. Like G LS said, Value lists are good for populating simple combo boxes that display data that will never change. For example, let's say that you create a Search Form that contains a combo box that allows users to specify the search direction. The only possible choices are Up, Down, and All, so you could create a Value list with those three choices.
Based on your description, you should populate the combo box from a table or query since the data is dynamic. In other words, there's a good chance that the user will add and delete cities from the table; therefore, you don't want to hard-code a Value list that contains the city names. To populate the combo box from a table or query, set the Rowsource type to Table/Query and the Rowsource to the name of the table or query that contains the city field that you want to display. You can also store an SQL statement in the Rowsource instead of a query name.
You can set the RowSource in the Property Sheet or in VB. If you set it in the Property Sheet, store the following in the RowSource Property:
Select Distinct City From tblname;
Note that in this case, the SQL statement should not be enclosed in quotes. Doing so will cause an error.
To set the RowSource in VB, do the following:
cmbBox.RowSource = "Select Distinct City From tblname;"
Note that the SQL statement must be enclosed in quotes in this case.
You should pull the cities from the table that contains all the cities that you want to display. You haven't provided enough information to determine if that is your client table, or another table.
dz
dzaccess@yahoo.com