Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Initial Value
Message
De
23/07/2001 11:23:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00533908
Message ID:
00533947
Vues:
11
>then .rowsource = aArray_name
>.rowsourcetype = 5
>.numberofelements = alen(aArray_name)

Instead of NumberOfElements here, you can also (probably should) do a ReQuery() instead.

>>Simple, I'm sure, but how do I get the current value of a field in a view (set as ControlSource) to show as the initial value in a Combobox?

You can do a Combo.ListIndex = recno('myview') or Combo.Value = myview.myfield and you shoudl get what you want.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform