Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Choiñe from combo
Message
 
 
À
17/10/2004 03:29:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00952053
Message ID:
00952054
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>if have ex.. two textboxs at myform,and combobox,
>
>i need to insert from mycombo two values at text1 and text2 with click or keypres
>
>ex..thisform.text1.value=this.value(ex.. name)
> thisform.text2.value=this.value(ex.. address)

Assuming the combo has:
   .RowSourceType = 6    && Fields
   .RowSource = "TableName.Name,Address"   && quotes not required in property sheet
                                           && and alias should only be specified for the first field.
   .ColumnCount = 2
Then in the valid event all you need to add is:
ThisForm.Text1.Value = TableName.Name
ThisForm.Text2.Value = TableName.Address
censored.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform