Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Combobox displayvalue in grid
Versions des environnements
Network:
Windows 2000 Server
I have a grid in which I have placed a combobox. The value of the field is an integer, but I want to display the corresponding text of the value from the recordsource. To do this I have 2 columns (TextSource c(50), IntSource I) that are in the alias I am using as the recordsource for the combo box. The data is bound to column 2 for the controlsource. Sparse for the column is false. Everything appears to be okay (including display values) until I click on the combo box at which time it let's me select correctly, however, when I move off the record it truncates the displayed value to 11 characters. It does store the correct IntSource but what I can't figure out is why thee TextSource for the display is truncating. Any ideas are appreciated.
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