Hi Jose Luis,
If you're using VFP6 check the 'boundto' property (in the data tab of the combobox properties).
>Hello everybody!
>
>I am using a ComboBox to select cities. The user selects a city of the ComboBox and this stores in the table the ID of the city.
>
>This works well, but if I order the table of cities for NameCity in the DataEnvironment, the ComboBox stores the number of order of the city in the list of the ComboBox.
>
>Is this a bug of VFP or will I be making something wrong?
>
>I thank any help!
>
>JL