Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defaulting a combo box to a specific value?
Message
De
27/06/2000 11:42:00
 
 
À
27/06/2000 11:23:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00385055
Message ID:
00385124
Vues:
11
>>>I am populating a drop down combo from a query with a customer ID code to a cursor. At every location, there is a customer code of "CASH-"+locationcode. Is there any way to make the drop down default to the "CASH-"whatever ID in every case?
>>
>>Did you try Thisform.ListBox1.Value = "CASH-"+locationcode in every case?
>>
>>>Thanks
>>>
>>>Jim
>
>Jess,
>
>Er, actually, no. I did try .value="CASH" in the combo's init with zero results. I'll cobble together the complete string and give it a go.
>
>Thanks.

Well, no luck with either the form's on the combo's init. Could this be bcause of when the query is run? Would the InteractiveChange be a better place to set the .value? I am still very weak on the event sequence on this form. Any more ideas would be greatly appreciated.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform