Information générale
Catégorie:
Codage, syntaxe et commandes
It seems, the Combobox.LIST(row,col) property is what you need. Check out VFP help for more details.
>>>>>>>>>>>>>>>>>>>> your message below >>>>>>>>>>>>>>>>
A combo box usually works like this, for the user. Click the drop down list and click the value desired. That value is stored in the record when saved.
--------------------
A combobox on the form, hand entered data, 2 columns, 4 rows, values 1.0,OnePointZero,1.2,OnePoinTwo,1.4,OnePointFour,1.5,OnePointFive. With no ControlSource, this.value (from column 1) is as expected (1.0,1.2,1.4,1.5 and type is "C").
Change the ControlSource to a field in a table (TableName.Multiplier (n4.2)) and the type changes to "N" and this.value changes to the count (this.ListItemId) of the item picked (1,2,3,4) and stores that in the record when saved.
How can I get 1.0, 1.2, 1.4, 1.5 saved to the record (ControlSource)?
Dallas
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