I did that (all values are char type) and the value showing in the combo box did change to that value until I clicked on it. It then reverted to the original value. Clicking and selecting a second time then works. I just don't want the user to have to do that because it gives it such a bad feel.
Thanks anyway.
John.
>Value should do it, but remember that value must be character type. This means that you may have to use transform() if the real value is numeric.
>
>>Is there any way to Programmaticly select a combo box value. The setup is a follows:
>>ControlSource = c_pageobj.stylename (Cursor field)
>>RowSource = Thisform.aButtonStyle (Array)
>>RowSourceType = 5 - Array
>>
>>I need to change the selected value through a procedure depending on what happens elsewhere.
>>I tried doing a replace on (c_pageobj.stylename), setting Value = new value and doing a refresh. The value changed in the combo box until I clicked on it. It then returned to the original selected value. Also tried setting ListItemId = (array number). Same thing.
>>
>>Someone out there has to know more about this than me. Thanks.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn