The .DisplayValue property actually is the source of what you see displayed in the comboBox. Usually, the displayValue and value would be equivelent. Hint: a difference in the two is how you know the user entered a new value for the a combo drop down style combobox.
What style _are_ you using, btw? DropDown List?
If you're using 5.0 and set BoundTo = .T. to make the value connected to the return value and not the index value.
>I used the One to Many Wizard to create a form. After it built the form I replaced some of the TextEdit Boxes with ComboBoxes(which will be more appropriate for my form). When I add a record though, the ComboBox will not update with the new Name. I have to select the newname from the ComboBox list. Everything functions normally from there.
>
>Is there any way to make the ComboBox refresh its display and set all associated values to the new values (ie blank for most of them).
>
>I tried setting the value of the ComboBox:
> thisform.cbobox1.value = newvalue.
>
>but that failed miserably and had the nasty sideffect of changing my keyfied value to that of recno 1. (Can someone explain this?)
>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only