Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox
Message
De
24/12/2001 16:45:39
 
 
À
24/12/2001 11:34:35
Randy Hooper
Ranco Business Software
Tampa, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00597935
Message ID:
00597996
Vues:
17
>> What I don't know how to do is poupulate the 2 column. The listbox is being populated base on the user input from a textbox. <<

Depends on the RowSourceType. This sounds to me like an ideal RowSorceType would be 6-Fields and that the RowSource should come from some sort of parameterized view. So, if you have the view (let's suppose it is called lv_Combo) set up as a parameterized view with the view parameter called vp_Value, set up the combo like this

RowSourceType = 6-Fields
RowSource = lv_Combo.Description, iPK
BoundTo = .T.

Then, this code called from the command button's click()

vp_Value = This.Parent.txtWhatever.Value
REQUERY( 'lv_Combo' )
This.Requery()

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform