Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox has a mind of its own
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00516528
Message ID:
00516529
Vues:
8
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
Fil
Voir

Click here to load this message in the networking platform