Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Help, I have a combo box, when selecting a control I hide the combo and display a text box. The text box is keeping whatever was contained in the combo. How do I clear this text box? I already do a refreash, and the text box does have the same control source as the combo box.
>>
>>Thank you
>>
>>
>>Holly Clawson
>
>Holly,
>
>Why are you doing that? It sound like odd screen behavior... If you define the combobox as a combobox instead of a listbox, you should be able to get the same effect as what you're programming. But, if I'm off the mark..
>
>Don't use a control source for one of them. Either build an array for your combo, or set the .Value for the textbox programmatically. You should be able to set .Value for the textbox without doing a refresh.
>
>HTH
Matt
I agree, the reason for this is I have not been able to figure out how to key new entries into a combo box that has a rowsourcetype of fields. When you say value my value, is already set to none. Do you mean the controlsource type set-up programmatically? I tried that and none of my fields refresh().
Thanx
Holly
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