Information générale
Catégorie:
Codage, syntaxe et commandes
Frank,
About all that comes to mind is that it *could* be that the width of your text display area of the combobox is not large enough, so all you are getting is the leading blanks and no numbers????
I know, hardly makes sense. You might try browsing the MS KnowledgeBase for ComboBox and Numerics.
Good Luck,
Jim N
>>>Combobox I want to display in the text side of a combobox the value contained in a field. The value contained in a field is a numeric double. The combobox box is put on a form and the controlsource is the table.field what are the property and methords need to be changed in code to display the numeric value when the combobox is displayed on the form. If I do a skip to next record I want to show in the combobox in the text side a new value the value contained in the field in the current record.
>>
>>Frank, put the code you need into a form method. Then call this code in your form.Refresh() method, which will be called after every skip. Call the same code in your combobox where necessary. This way you only write/debug the code once.
>>
>>HTH
>>Barbara
>
>Thanks but what about the displaying of a numeric value how do you handle the displaying od a numeric value in the text side of a combobox. When a combobox comes display the contents of the record using the SQL sourcerowtype = 3. If the value is numeric contain in the table defined as a integer or double with no decimals.
Précédent
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