Thanks Jim.
OK, I set the BoundTo to .T. and the default value shows correctly. Now when I select another value in the Combo, the displayvalue is blank. If I change the BoundTo to .F. after the initial Combo.Requery, the display is correct. I shouldn't have to switch the BoundTo property on and off programmatically, should I.
What am I missing?
TIA
Rex
>Rex,
>
>If you want to use an integer as the controlsource for a combo, you must set the BoundTo property to .T. or else the combo uses its ListIndex instead of the value of the boundcolumn for the inteer value.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement