Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to enter a list in a Combo-box
Message
 
À
02/12/1997 12:28:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00063307
Message ID:
00063361
Vues:
59
>I would give the combobox 2 columns, and then fill in each row manually with the word and the corresponing value. Set the number's column width to 0 and change the bound column to the word's column. The combobox builder allows you to do this easily. Another tip: in situation like this, I fill the number codes and wors into a look up table and base the combobox on this table. This way, if you ever decide that your app will also use Francs, Pesos, or Rubles you only have to add these records to your 'currencies' table, and then you don't have to change any code in the combobox. HTH

Thanks for this advice. I have made a separate table "currencies" and linked it to my main table by the numeric field. I have also placed a textbox on the form to display the new currencies.name field. When I run the form and navigate through the records, the relationship is working, and I see the currencies.name field changing from record to record, corresponding to the main tables numeric value.
However, I still cannot seem to get combo-box to work. Could you give me some step-by step instructions on where to type the text, and exactly how to type it. (eg. in Rowsource type: Pounds; Dollars ?) I have not yet used a combo box, and am a dummy in this regard.
David Wheeldon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform